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,
178
178
select_panel (side_pane , panel );
179
179
}
180
180
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
-
206
181
static gboolean
207
182
select_button_press_callback (GtkWidget * widget ,
208
183
GdkEventButton * event ,
You can’t perform that action at this time.
0 commit comments