diff options
author | Pablo Barciela <[email protected]> | 2019-03-09 15:26:57 +0100 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-04-10 21:53:31 +0000 |
commit | 203399fc4969ea512c96592ec6a22218015f4fbd (patch) | |
tree | 8917d69c9c64996daef288a47214d9d6f5e5d511 /src/caja-notebook.c | |
parent | e50549cf502f988ff214a2714a8cdd6fb6892244 (diff) | |
download | caja-203399fc4969ea512c96592ec6a22218015f4fbd.tar.bz2 caja-203399fc4969ea512c96592ec6a22218015f4fbd.tar.xz |
drop functions defined but not used
Diffstat (limited to 'src/caja-notebook.c')
-rw-r--r-- | src/caja-notebook.c | 19 |
1 files changed, 0 insertions, 19 deletions
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 |