Skip to content


Browse files Browse the repository at this point in the history
remove unused function
not needed after ddf6f38
  • Loading branch information
monsta committed May 16, 2018
1 parent 7cae49a commit 13fe58e
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions src/caja-side-pane.c
Expand Up @@ -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,
Expand Down

0 comments on commit 13fe58e

Please sign in to comment.