Commit 17d2a024 authored by Cosimo Cecchi's avatar Cosimo Cecchi

Remove more unused methods

Found with cppcheck.
parent d5715006
......@@ -641,28 +641,6 @@ nautilus_bookmark_get_has_custom_name (NautilusBookmark *bookmark)
return (bookmark->details->has_custom_name);
}
/**
* nautilus_bookmark_set_custom_name:
*
* Change the user-displayed name of a bookmark.
* @new_name: The new user-displayed name for this bookmark, mustn't be NULL.
*
**/
void
nautilus_bookmark_set_custom_name (NautilusBookmark *bookmark,
const char *new_name)
{
g_return_if_fail (new_name != NULL);
g_return_if_fail (NAUTILUS_IS_BOOKMARK (bookmark));
g_object_set (bookmark,
"custom-name", TRUE,
"name", new_name,
NULL);
g_signal_emit (bookmark, signals[CONTENTS_CHANGED], 0);
}
/**
* nautilus_bookmark_compare_with:
*
......@@ -806,9 +784,3 @@ nautilus_bookmark_get_scroll_pos (NautilusBookmark *bookmark)
{
return g_strdup (bookmark->details->scroll_file);
}
gboolean
nautilus_bookmark_get_exists (NautilusBookmark *bookmark)
{
return bookmark->details->exists;
}
......@@ -70,13 +70,10 @@ GFile * nautilus_bookmark_get_location (NautilusBookmark
char * nautilus_bookmark_get_uri (NautilusBookmark *bookmark);
GIcon * nautilus_bookmark_get_icon (NautilusBookmark *bookmark);
GIcon * nautilus_bookmark_get_symbolic_icon (NautilusBookmark *bookmark);
gboolean nautilus_bookmark_get_exists (NautilusBookmark *bookmark);
gboolean nautilus_bookmark_get_xdg_type (NautilusBookmark *bookmark,
GUserDirectory *directory);
gboolean nautilus_bookmark_get_is_builtin (NautilusBookmark *bookmark);
gboolean nautilus_bookmark_get_has_custom_name (NautilusBookmark *bookmark);
void nautilus_bookmark_set_custom_name (NautilusBookmark *bookmark,
const char *new_name);
int nautilus_bookmark_compare_with (gconstpointer a,
gconstpointer b);
......
......@@ -5765,15 +5765,14 @@ static NautilusIconInfo *
nautilus_canvas_container_get_icon_images (NautilusCanvasContainer *container,
NautilusCanvasIconData *data,
int size,
gboolean for_drag_accept,
gboolean *has_open_window)
gboolean for_drag_accept)
{
NautilusCanvasContainerClass *klass;
klass = NAUTILUS_CANVAS_CONTAINER_GET_CLASS (container);
g_assert (klass->get_icon_images != NULL);
return klass->get_icon_images (container, data, size, for_drag_accept, has_open_window);
return klass->get_icon_images (container, data, size, for_drag_accept);
}
static void
......@@ -5880,7 +5879,6 @@ nautilus_canvas_container_update_icon (NautilusCanvasContainer *container,
NautilusIconInfo *icon_info;
GdkPixbuf *pixbuf;
char *editable_text, *additional_text;
gboolean has_open_window;
if (icon == NULL) {
return;
......@@ -5902,8 +5900,7 @@ nautilus_canvas_container_update_icon (NautilusCanvasContainer *container,
/* Get the icons. */
icon_info = nautilus_canvas_container_get_icon_images (container, icon->data, icon_size,
icon == details->drop_target,
&has_open_window);
icon == details->drop_target);
pixbuf = nautilus_icon_info_get_pixbuf (icon_info);
g_object_unref (icon_info);
......@@ -6946,21 +6943,6 @@ nautilus_canvas_container_set_keep_aligned (NautilusCanvasContainer *container,
}
}
void
nautilus_canvas_container_set_label_position (NautilusCanvasContainer *container,
NautilusCanvasLabelPosition position)
{
g_return_if_fail (NAUTILUS_IS_CANVAS_CONTAINER (container));
if (container->details->label_position != position) {
container->details->label_position = position;
nautilus_canvas_container_request_update_all_internal (container, TRUE);
schedule_redo_layout (container);
}
}
/* Switch from automatic to manual layout, freezing all the icons in their
* current positions instead of restoring canvas positions from the last manual
* layout as set_auto_layout does.
......@@ -7017,30 +6999,6 @@ nautilus_canvas_container_is_auto_layout (NautilusCanvasContainer *container)
return container->details->auto_layout;
}
gboolean
nautilus_canvas_container_has_stored_icon_positions (NautilusCanvasContainer *container)
{
GList *p;
NautilusCanvasIcon *icon;
gboolean have_stored_position;
NautilusCanvasPosition position;
for (p = container->details->icons; p != NULL; p = p->next) {
icon = p->data;
have_stored_position = FALSE;
g_signal_emit (container,
signals[GET_STORED_ICON_POSITION], 0,
icon->data,
&position,
&have_stored_position);
if (have_stored_position) {
return TRUE;
}
}
return FALSE;
}
void
nautilus_canvas_container_set_single_click_mode (NautilusCanvasContainer *container,
gboolean single_click_mode)
......
......@@ -55,10 +55,6 @@ typedef struct {
double scale;
} NautilusCanvasPosition;
typedef enum {
NAUTILUS_CANVAS_LABEL_POSITION_UNDER,
} NautilusCanvasLabelPosition;
#define NAUTILUS_CANVAS_CONTAINER_TYPESELECT_FLUSH_DELAY 1000000
typedef struct NautilusCanvasContainerDetails NautilusCanvasContainerDetails;
......@@ -137,8 +133,7 @@ typedef struct {
NautilusIconInfo *(* get_icon_images) (NautilusCanvasContainer *container,
NautilusCanvasIconData *data,
int canvas_size,
gboolean for_drag_accept,
gboolean *has_window_open);
gboolean for_drag_accept);
void (* get_icon_text) (NautilusCanvasContainer *container,
NautilusCanvasIconData *data,
char **editable_text,
......@@ -252,8 +247,6 @@ void nautilus_canvas_container_set_auto_layout (Nauti
gboolean nautilus_canvas_container_is_keep_aligned (NautilusCanvasContainer *container);
void nautilus_canvas_container_set_keep_aligned (NautilusCanvasContainer *container,
gboolean keep_aligned);
void nautilus_canvas_container_set_label_position (NautilusCanvasContainer *container,
NautilusCanvasLabelPosition pos);
void nautilus_canvas_container_sort (NautilusCanvasContainer *container);
void nautilus_canvas_container_freeze_icon_positions (NautilusCanvasContainer *container);
......
......@@ -1662,47 +1662,6 @@ nautilus_canvas_item_get_icon_rectangle (const NautilusCanvasItem *item)
return rectangle;
}
EelDRect
nautilus_canvas_item_get_text_rectangle (NautilusCanvasItem *item,
gboolean for_layout)
{
/* FIXME */
EelIRect icon_rectangle;
EelIRect text_rectangle;
EelDRect ret;
double pixels_per_unit;
gint width, height;
g_return_val_if_fail (NAUTILUS_IS_CANVAS_ITEM (item), eel_drect_empty);
icon_rectangle.x0 = item->details->x;
icon_rectangle.y0 = item->details->y;
pixels_per_unit = EEL_CANVAS_ITEM (item)->canvas->pixels_per_unit;
get_scaled_icon_size (item, &width, &height);
icon_rectangle.x1 = icon_rectangle.x0 + width / pixels_per_unit;
icon_rectangle.y1 = icon_rectangle.y0 + height / pixels_per_unit;
measure_label_text (item);
text_rectangle = compute_text_rectangle (item, icon_rectangle, FALSE,
for_layout ? BOUNDS_USAGE_FOR_LAYOUT : BOUNDS_USAGE_FOR_DISPLAY);
ret.x0 = text_rectangle.x0;
ret.y0 = text_rectangle.y0;
ret.x1 = text_rectangle.x1;
ret.y1 = text_rectangle.y1;
eel_canvas_item_i2w (EEL_CANVAS_ITEM (item),
&ret.x0,
&ret.y0);
eel_canvas_item_i2w (EEL_CANVAS_ITEM (item),
&ret.x1,
&ret.y1);
return ret;
}
/* Get the rectangle of the icon only, in canvas coordinates. */
static void
get_icon_rectangle (NautilusCanvasItem *item,
......
......@@ -84,8 +84,6 @@ gboolean nautilus_canvas_item_hit_test_stretch_handles (NautilusCanvasItem
void nautilus_canvas_item_invalidate_label (NautilusCanvasItem *item);
void nautilus_canvas_item_invalidate_label_size (NautilusCanvasItem *item);
EelDRect nautilus_canvas_item_get_icon_rectangle (const NautilusCanvasItem *item);
EelDRect nautilus_canvas_item_get_text_rectangle (NautilusCanvasItem *item,
gboolean for_layout);
void nautilus_canvas_item_get_bounds_for_layout (NautilusCanvasItem *item,
double *x1, double *y1, double *x2, double *y2);
void nautilus_canvas_item_get_bounds_for_entire_item (NautilusCanvasItem *item,
......
......@@ -199,9 +199,6 @@ struct NautilusCanvasContainerDetails {
gboolean single_click_mode;
gboolean auto_layout;
/* Label position */
NautilusCanvasLabelPosition label_position;
/* Should the container keep icons aligned to a grid */
gboolean keep_aligned;
......@@ -264,7 +261,6 @@ char * nautilus_canvas_container_get_icon_drop_target_uri (NautilusCan
NautilusCanvasIcon *canvas);
void nautilus_canvas_container_update_icon (NautilusCanvasContainer *container,
NautilusCanvasIcon *canvas);
gboolean nautilus_canvas_container_has_stored_icon_positions (NautilusCanvasContainer *container);
gboolean nautilus_canvas_container_scroll (NautilusCanvasContainer *container,
int delta_x,
int delta_y);
......
......@@ -68,64 +68,6 @@ nautilus_desktop_link_monitor_get (void)
return the_link_monitor;
}
static void
volume_delete_dialog (GtkWidget *parent_view,
NautilusDesktopLink *link)
{
GMount *mount;
char *dialog_str;
char *display_name;
mount = nautilus_desktop_link_get_mount (link);
if (mount != NULL) {
display_name = nautilus_desktop_link_get_display_name (link);
dialog_str = g_strdup_printf (_("You cannot move the volume “%s” to the trash."),
display_name);
g_free (display_name);
if (g_mount_can_eject (mount)) {
eel_run_simple_dialog
(parent_view,
FALSE,
GTK_MESSAGE_ERROR,
dialog_str,
_("If you want to eject the volume, please use Eject in the "
"popup menu of the volume."),
_("_OK"), NULL);
} else {
eel_run_simple_dialog
(parent_view,
FALSE,
GTK_MESSAGE_ERROR,
dialog_str,
_("If you want to unmount the volume, please use Unmount Volume in the "
"popup menu of the volume."),
_("_OK"), NULL);
}
g_object_unref (mount);
g_free (dialog_str);
}
}
void
nautilus_desktop_link_monitor_delete_link (NautilusDesktopLinkMonitor *monitor,
NautilusDesktopLink *link,
GtkWidget *parent_view)
{
switch (nautilus_desktop_link_get_link_type (link)) {
case NAUTILUS_DESKTOP_LINK_HOME:
case NAUTILUS_DESKTOP_LINK_TRASH:
case NAUTILUS_DESKTOP_LINK_NETWORK:
/* just ignore. We don't allow you to delete these */
break;
default:
volume_delete_dialog (parent_view, link);
break;
}
}
static gboolean
volume_file_name_used (NautilusDesktopLinkMonitor *monitor,
const char *name)
......
......@@ -54,10 +54,6 @@ GType nautilus_desktop_link_monitor_get_type (void);
NautilusDesktopLinkMonitor * nautilus_desktop_link_monitor_get (void);
void nautilus_desktop_link_monitor_shutdown (void);
void nautilus_desktop_link_monitor_delete_link (NautilusDesktopLinkMonitor *monitor,
NautilusDesktopLink *link,
GtkWidget *parent_view);
/* Used by nautilus-desktop-link.c */
char * nautilus_desktop_link_monitor_make_filename_unique (NautilusDesktopLinkMonitor *monitor,
const char *filename);
......
......@@ -50,12 +50,6 @@ void nautilus_directory_schedule_metadata_copy (GList *file_pairs);
void nautilus_directory_schedule_metadata_move (GList *file_pairs);
void nautilus_directory_schedule_metadata_remove (GList *files);
/* Deprecated URI versions: to be converted */
void nautilus_directory_notify_files_added_by_uri (GList *uris);
void nautilus_directory_notify_files_changed_by_uri (GList *uris);
void nautilus_directory_notify_files_moved_by_uri (GList *uri_pairs);
void nautilus_directory_notify_files_removed_by_uri (GList *uris);
void nautilus_directory_schedule_metadata_copy_by_uri (GList *uri_pairs);
void nautilus_directory_schedule_metadata_move_by_uri (GList *uri_pairs);
void nautilus_directory_schedule_metadata_remove_by_uri (GList *uris);
......
......@@ -199,8 +199,6 @@ Request nautilus_directory_set_up_request (NautilusF
/* Interface to the file list. */
NautilusFile * nautilus_directory_find_file_by_name (NautilusDirectory *directory,
const char *filename);
NautilusFile * nautilus_directory_find_file_by_internal_filename (NautilusDirectory *directory,
const char *internal_filename);
void nautilus_directory_add_file (NautilusDirectory *directory,
NautilusFile *file);
......
......@@ -753,25 +753,6 @@ nautilus_directory_find_file_by_name (NautilusDirectory *directory,
return node == NULL ? NULL : NAUTILUS_FILE (node->data);
}
/* "." for the directory-as-file, otherwise the filename */
NautilusFile *
nautilus_directory_find_file_by_internal_filename (NautilusDirectory *directory,
const char *internal_filename)
{
NautilusFile *result;
if (g_strcmp0 (internal_filename, ".") == 0) {
result = nautilus_directory_get_existing_corresponding_file (directory);
if (result != NULL) {
nautilus_file_unref (result);
}
} else {
result = nautilus_directory_find_file_by_name (directory, internal_filename);
}
return result;
}
void
nautilus_directory_emit_files_added (NautilusDirectory *directory,
GList *added_files)
......@@ -1048,44 +1029,6 @@ nautilus_directory_notify_files_added (GList *files)
nautilus_profile_end (NULL);
}
static void
g_file_pair_free (GFilePair *pair)
{
g_object_unref (pair->to);
g_object_unref (pair->from);
g_free (pair);
}
static GList *
uri_pairs_to_file_pairs (GList *uri_pairs)
{
GList *l, *file_pair_list;
GFilePair *file_pair;
URIPair *uri_pair;
file_pair_list = NULL;
for (l = uri_pairs; l != NULL; l = l->next) {
uri_pair = l->data;
file_pair = g_new (GFilePair, 1);
file_pair->from = g_file_new_for_uri (uri_pair->from_uri);
file_pair->to = g_file_new_for_uri (uri_pair->to_uri);
file_pair_list = g_list_prepend (file_pair_list, file_pair);
}
return g_list_reverse (file_pair_list);
}
void
nautilus_directory_notify_files_added_by_uri (GList *uris)
{
GList *files;
files = nautilus_file_list_from_uris (uris);
nautilus_directory_notify_files_added (files);
g_list_free_full (files, g_object_unref);
}
void
nautilus_directory_notify_files_changed (GList *files)
{
......@@ -1122,16 +1065,6 @@ nautilus_directory_notify_files_changed (GList *files)
g_hash_table_destroy (changed_lists);
}
void
nautilus_directory_notify_files_changed_by_uri (GList *uris)
{
GList *files;
files = nautilus_file_list_from_uris (uris);
nautilus_directory_notify_files_changed (files);
g_list_free_full (files, g_object_unref);
}
void
nautilus_directory_notify_files_removed (GList *files)
{
......@@ -1180,16 +1113,6 @@ nautilus_directory_notify_files_removed (GList *files)
g_hash_table_destroy (parent_directories);
}
void
nautilus_directory_notify_files_removed_by_uri (GList *uris)
{
GList *files;
files = nautilus_file_list_from_uris (uris);
nautilus_directory_notify_files_changed (files);
g_list_free_full (files, g_object_unref);
}
static void
set_directory_location (NautilusDirectory *directory,
GFile *location)
......@@ -1456,17 +1379,6 @@ nautilus_directory_notify_files_moved (GList *file_pairs)
g_list_free (new_files_list);
}
void
nautilus_directory_notify_files_moved_by_uri (GList *uri_pairs)
{
GList *file_pairs;
file_pairs = uri_pairs_to_file_pairs (uri_pairs);
nautilus_directory_notify_files_moved (file_pairs);
g_list_foreach (file_pairs, (GFunc)g_file_pair_free, NULL);
g_list_free (file_pairs);
}
void
nautilus_directory_schedule_position_set (GList *position_setting_list)
{
......@@ -1535,25 +1447,6 @@ nautilus_directory_contains_file (NautilusDirectory *directory,
return NAUTILUS_DIRECTORY_CLASS (G_OBJECT_GET_CLASS (directory))->contains_file (directory, file);
}
char *
nautilus_directory_get_file_uri (NautilusDirectory *directory,
const char *file_name)
{
GFile *child;
char *result;
g_return_val_if_fail (NAUTILUS_IS_DIRECTORY (directory), NULL);
g_return_val_if_fail (file_name != NULL, NULL);
result = NULL;
child = g_file_get_child (directory->details->location, file_name);
result = g_file_get_uri (child);
g_object_unref (child);
return result;
}
void
nautilus_directory_call_when_ready (NautilusDirectory *directory,
NautilusFileAttributes file_attributes,
......@@ -1789,16 +1682,6 @@ nautilus_directory_list_sort_by_uri (GList *list)
return g_list_sort (list, compare_by_uri_cover);
}
gboolean
nautilus_directory_is_desktop_directory (NautilusDirectory *directory)
{
if (directory->details->location == NULL) {
return FALSE;
}
return nautilus_is_desktop_directory (directory->details->location);
}
#if !defined (NAUTILUS_OMIT_SELF_CHECK)
#include <eel/eel-debug.h>
......
......@@ -167,10 +167,6 @@ GFile * nautilus_directory_get_location (NautilusDirector
gboolean nautilus_directory_contains_file (NautilusDirectory *directory,
NautilusFile *file);
/* Get the uri of the file in the directory, NULL if not found */
char * nautilus_directory_get_file_uri (NautilusDirectory *directory,
const char *file_name);
/* Get (and ref) a NautilusFile object for this directory. */
NautilusFile * nautilus_directory_get_corresponding_file (NautilusDirectory *directory);
......@@ -231,9 +227,6 @@ void nautilus_directory_list_free (GList
GList * nautilus_directory_list_copy (GList *directory_list);
GList * nautilus_directory_list_sort_by_uri (GList *directory_list);
/* Fast way to check if a directory is the desktop directory */
gboolean nautilus_directory_is_desktop_directory (NautilusDirectory *directory);
gboolean nautilus_directory_is_editable (NautilusDirectory *directory);
......
......@@ -116,19 +116,6 @@ nautilus_drag_destroy_selection_list (GList *list)
g_list_free (list);
}
char **
nautilus_drag_uri_array_from_selection_list (const GList *selection_list)
{
GList *uri_list;
char **uris;
uri_list = nautilus_drag_uri_list_from_selection_list (selection_list);
uris = nautilus_drag_uri_array_from_list (uri_list);
g_list_free_full (uri_list, g_free);
return uris;
}
GList *
nautilus_drag_uri_list_from_selection_list (const GList *selection_list)
{
......@@ -147,26 +134,6 @@ nautilus_drag_uri_list_from_selection_list (const GList *selection_list)
return g_list_reverse (uri_list);
}
char **
nautilus_drag_uri_array_from_list (const GList *uri_list)
{
const GList *l;
char **uris;
int i;
if (uri_list == NULL) {
return NULL;
}
uris = g_new0 (char *, g_list_length ((GList *) uri_list));
for (i = 0, l = uri_list; l != NULL; l = l->next) {
uris[i++] = g_strdup ((char *) l->data);
}
uris[i] = NULL;
return uris;
}
GList *
nautilus_drag_uri_list_from_array (const char **uris)
{
......@@ -321,17 +288,6 @@ nautilus_drag_items_local (const char *target_uri_string,
((NautilusDragSelectionItem *)selection_list->data)->uri);
}
gboolean
nautilus_drag_items_in_trash (const GList *selection_list)
{
/* check if the first item on the list is in trash.
* FIXME:
* we should really test each item but that would be slow for large selections
* and currently dropped items can only be from the same container
*/
return eel_uri_is_trash (((NautilusDragSelectionItem *)selection_list->data)->uri);
}
gboolean
nautilus_drag_items_on_desktop (const GList *selection_list)
{
......@@ -663,41 +619,6 @@ nautilus_drag_drag_data_get_from_cache (GList *cache,
return TRUE;
}
gboolean
nautilus_drag_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
guint info,
guint32 time,
gpointer container_context,
NautilusDragEachSelectedItemIterator each_selected_item_iterator)
{
GString *result;
switch (info) {
case NAUTILUS_ICON_DND_GNOME_ICON_LIST:
result = g_string_new (NULL);
(* each_selected_item_iterator) (add_one_gnome_icon, container_context, result);
break;
case NAUTILUS_ICON_DND_URI_LIST:
case NAUTILUS_ICON_DND_TEXT:
result = g_string_new (NULL);
(* each_selected_item_iterator) (add_one_uri, container_context, result);
break;
default:
return FALSE;
}
gtk_selection_data_set (selection_data,
gtk_selection_data_get_target (selection_data),
8, (guchar *) result->str, result->len);
g_string_free (result, TRUE);
return TRUE;
}
typedef struct
{
GMainLoop *loop;
......
......@@ -108,17 +108,14 @@ NautilusDragSelectionItem *nautilus_drag_selection_item_new (void);
void nautilus_drag_destroy_selection_list (GList *selection_list);
GList *nautilus_drag_build_selection_list (GtkSelectionData *data);
char ** nautilus_drag_uri_array_from_selection_list (const GList *selection_list);
GList * nautilus_drag_uri_list_from_selection_list (const GList *selection_list);
char ** nautilus_drag_uri_array_from_list (const GList *uri_list);
GList * nautilus_drag_uri_list_from_array (const char **uris);
gboolean nautilus_drag_items_local (const char *target_uri,
const GList *selection_list);
gboolean nautilus_drag_uris_local (const char *target_uri,
const GList *source_uri_list);
gboolean nautilus_drag_items_in_trash (const GList *selection_list);
gboolean nautilus_drag_items_on_desktop (const GList *selection_list);
void nautilus_drag_default_drop_action_for_icons (GdkDragContext *context,
const char *target_uri,
......@@ -127,13 +124,6 @@ void nautilus_drag_default_drop_action_for_icons (GdkDragContext *
GdkDragAction nautilus_drag_default_drop_action_for_netscape_url (GdkDragContext *context);
GdkDragAction nautilus_drag_default_drop_action_for_uri_list (GdkDragContext *context,
const char *target_uri_string);
gboolean nautilus_drag_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
guint info,
guint32 time,
gpointer container_context,
NautilusDragEachSelectedItemIterator each_selected_item_iterator);
GList *nautilus_drag_create_selection_cache (gpointer container_context,
NautilusDragEachSelectedItemIterator each_selected_item_iterator);
gboolean nautilus_drag_drag_data_get_from_cache (GList *cache,
......
......@@ -63,17 +63,6 @@ nautilus_entry_new (void)
return gtk_widget_new (NAUTILUS_TYPE_ENTRY, NULL);
}
GtkWidget *
nautilus_entry_new_with_max_length (guint16 max)
{
GtkWidget *widget;
widget = gtk_widget_new (NAUTILUS_TYPE_ENTRY, NULL);
gtk_entry_set_max_length (GTK_ENTRY (widget), max);
return widget;
}
static void
nautilus_entry_finalize (GObject *object)
{
......
......@@ -56,7 +56,6 @@ typedef struct {
GType nautilus_entry_get_type (void);
GtkWidget *nautilus_entry_new (void);
GtkWidget *nautilus_entry_new_with_max_length (guint16 max);
void nautilus_entry_set_text (NautilusEntry *entry,
const char *text);
void nautilus_entry_select_all (NautilusEntry *entry);
......
......@@ -175,9 +175,6 @@ struct NautilusFileDetails
eel_boolean_bit is_thumbnailing : 1;
/* TRUE if the file is open in a spatial window */
eel_boolean_bit has_open_window : 1;
eel_boolean_bit is_launcher : 1;
eel_boolean_bit is_trusted_link : 1;
eel_boolean_bit is_foreign_link : 1;
......
......@@ -418,18 +418,6 @@ nautilus_get_templates_directory (void)