summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-05-16 13:20:32 +0300
committermonsta <[email protected]>2018-05-16 13:20:32 +0300
commit13fe58e1acc2d53a0ed2f9687b9ad00d67975c3e (patch)
treea8a632a0d656f754bc00729734ea850d67eb0134 /src
parent7cae49a343bc04f503b70da00bb5a45bd5c635b3 (diff)
downloadcaja-13fe58e1acc2d53a0ed2f9687b9ad00d67975c3e.tar.bz2
caja-13fe58e1acc2d53a0ed2f9687b9ad00d67975c3e.tar.xz
remove unused function
not needed after ddf6f38db4e842abecd4f2ee77012050822b3775
Diffstat (limited to 'src')
-rw-r--r--src/caja-side-pane.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/caja-side-pane.c b/src/caja-side-pane.c
index fb25b4fb..b306bacc 100644
--- a/src/caja-side-pane.c
+++ b/src/caja-side-pane.c
@@ -178,31 +178,6 @@ panel_item_activate_callback (GtkMenuItem *item,
select_panel (side_pane, panel);
}
-
-static void
-menu_position_under (GtkMenu *menu,
- int *x,
- int *y,
- gboolean *push_in,
- gpointer user_data)
-{
- GtkWidget *widget;
- GtkAllocation allocation;
-
- g_return_if_fail (GTK_IS_BUTTON (user_data));
- g_return_if_fail (!gtk_widget_get_has_window (GTK_WIDGET (user_data)));
-
- widget = GTK_WIDGET (user_data);
-
- gdk_window_get_origin (gtk_widget_get_window (widget), x, y);
- gtk_widget_get_allocation (widget, &allocation);
-
- *x += allocation.x;
- *y += allocation.y + allocation.height;
-
- *push_in = FALSE;
-}
-
static gboolean
select_button_press_callback (GtkWidget *widget,
GdkEventButton *event,