diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-03-17 16:32:05 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-03-17 16:36:49 +0100 |
commit | 4e0cf5e6e9ec6db4099f1f8581fac2b3a9c52cc0 (patch) | |
tree | 3ba5e7a83a71624866ab500f6f1f4e9081c9aa64 | |
parent | 274c6468c809e31c08a2c781f774f66879de1525 (diff) | |
download | nautilus-4e0cf5e6e9ec6db4099f1f8581fac2b3a9c52cc0.tar.gz |
notebook: removed unused ifdef code
-rw-r--r-- | src/nautilus-notebook.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/nautilus-notebook.c b/src/nautilus-notebook.c index db66d90ee..84998ff27 100644 --- a/src/nautilus-notebook.c +++ b/src/nautilus-notebook.c @@ -46,12 +46,6 @@ static int nautilus_notebook_insert_page (GtkNotebook *notebook, static void nautilus_notebook_remove (GtkContainer *container, GtkWidget *tab_widget); -static const GtkTargetEntry url_drag_types[] = -{ - { NAUTILUS_ICON_DND_GNOME_ICON_LIST_TYPE, 0, NAUTILUS_ICON_DND_GNOME_ICON_LIST }, - { NAUTILUS_ICON_DND_URI_LIST_TYPE, 0, NAUTILUS_ICON_DND_URI_LIST }, -}; - enum { TAB_CLOSE_REQUEST, @@ -173,19 +167,6 @@ nautilus_notebook_init (NautilusNotebook *notebook) g_signal_connect (notebook, "button-press-event", (GCallback)button_press_cb, NULL); - - /* Set up drag-and-drop target */ - /* TODO this would be used for opening a new tab. - * It will only work properly as soon as GtkNotebook - * supports to find out whether a particular point - * is on a tab button or not. - */ -#if 0 - gtk_drag_dest_set (GTK_WIDGET (notebook), 0, - url_drag_types, G_N_ELEMENTS (url_drag_types), - GDK_ACTION_LINK); - gtk_drag_dest_set_track_motion (GTK_WIDGET (notebook), TRUE); -#endif } gboolean |