Skip to content

Commit 13fe58e

Browse files
committed
remove unused function
not needed after ddf6f38
1 parent 7cae49a commit 13fe58e

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

src/caja-side-pane.c

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -178,31 +178,6 @@ panel_item_activate_callback (GtkMenuItem *item,
178178
select_panel (side_pane, panel);
179179
}
180180

181-
182-
static void
183-
menu_position_under (GtkMenu *menu,
184-
int *x,
185-
int *y,
186-
gboolean *push_in,
187-
gpointer user_data)
188-
{
189-
GtkWidget *widget;
190-
GtkAllocation allocation;
191-
192-
g_return_if_fail (GTK_IS_BUTTON (user_data));
193-
g_return_if_fail (!gtk_widget_get_has_window (GTK_WIDGET (user_data)));
194-
195-
widget = GTK_WIDGET (user_data);
196-
197-
gdk_window_get_origin (gtk_widget_get_window (widget), x, y);
198-
gtk_widget_get_allocation (widget, &allocation);
199-
200-
*x += allocation.x;
201-
*y += allocation.y + allocation.height;
202-
203-
*push_in = FALSE;
204-
}
205-
206181
static gboolean
207182
select_button_press_callback (GtkWidget *widget,
208183
GdkEventButton *event,

0 commit comments

Comments
 (0)