Skip to content
Permalink
Browse files

remove unused function

not needed after ddf6f38
  • Loading branch information...
monsta committed May 16, 2018
1 parent 7cae49a commit 13fe58e1acc2d53a0ed2f9687b9ad00d67975c3e
Showing with 0 additions and 25 deletions.
  1. +0 −25 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,

0 comments on commit 13fe58e

Please sign in to comment.
You can’t perform that action at this time.