From bfc8cda3ad694bae39338a40a4f03bbf186535fa Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 9 Mar 2019 15:26:57 +0100 Subject: drop functions defined but not used --- src/caja-notebook.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/caja-notebook.c') diff --git a/src/caja-notebook.c b/src/caja-notebook.c index 8bdaab8e..ac6727f4 100644 --- a/src/caja-notebook.c +++ b/src/caja-notebook.c @@ -51,12 +51,6 @@ static int caja_notebook_insert_page (GtkNotebook *notebook, static void caja_notebook_remove (GtkContainer *container, GtkWidget *tab_widget); -static const GtkTargetEntry url_drag_types[] = -{ - { CAJA_ICON_DND_MATE_ICON_LIST_TYPE, 0, CAJA_ICON_DND_MATE_ICON_LIST }, - { CAJA_ICON_DND_URI_LIST_TYPE, 0, CAJA_ICON_DND_URI_LIST }, -}; - enum { TAB_CLOSE_REQUEST, @@ -183,19 +177,6 @@ caja_notebook_init (CajaNotebook *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 } void -- cgit v1.2.1