diff options
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-gtk-extensions.c | 6 | ||||
-rw-r--r-- | eel/eel-gtk-extensions.h | 3 |
2 files changed, 2 insertions, 7 deletions
diff --git a/eel/eel-gtk-extensions.c b/eel/eel-gtk-extensions.c index 6b5ad5b9a..cc8a0f63e 100644 --- a/eel/eel-gtk-extensions.c +++ b/eel/eel-gtk-extensions.c @@ -266,10 +266,8 @@ eel_gtk_window_set_initial_geometry_from_string (GtkWindow *window, * In case no event is provided, gtk_get_current_event_time() will be used automatically. **/ void -eel_pop_up_context_menu (GtkMenu *menu, - gint16 offset_x, - gint16 offset_y, - GdkEventButton *event) +eel_pop_up_context_menu (GtkMenu *menu, + GdkEventButton *event) { int button; diff --git a/eel/eel-gtk-extensions.h b/eel/eel-gtk-extensions.h index 6b391605e..e0ad9b4f1 100644 --- a/eel/eel-gtk-extensions.h +++ b/eel/eel-gtk-extensions.h @@ -32,7 +32,6 @@ #include <gtk/gtk.h> #include <eel/eel-gdk-extensions.h> -#define EEL_DEFAULT_POPUP_MENU_DISPLACEMENT 2 #define EEL_STANDARD_CLOSE_WINDOW_CONTROL_KEY 'w' /* GtkWindow */ @@ -52,8 +51,6 @@ char * eel_gtk_window_get_geometry_string (GtkWindow /* GtkMenu and GtkMenuItem */ void eel_pop_up_context_menu (GtkMenu *menu, - gint16 offset_x, - gint16 offset_y, GdkEventButton *event); GtkMenuItem * eel_gtk_menu_append_separator (GtkMenu *menu); GtkMenuItem * eel_gtk_menu_insert_separator (GtkMenu *menu, |