File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff 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-
206181static gboolean
207182select_button_press_callback (GtkWidget * widget ,
208183 GdkEventButton * event ,
You can’t perform that action at this time.
0 commit comments