summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-10-05 15:08:05 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2011-10-05 15:08:05 -0400
commit428b468e8e6e66270cb434f14e4b1f8d7f5354c9 (patch)
tree4e69624396df68d8d2c4066022c0e670edb9f210 /eel
parent7b290a2b2fee7028e50c0ecf15d5417a7a7dc59d (diff)
downloadnautilus-428b468e8e6e66270cb434f14e4b1f8d7f5354c9.tar.gz
all: remove offset_x/offset_y parameters from eel_pop_up_context_menu()
They're unused now.
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-gtk-extensions.c6
-rw-r--r--eel/eel-gtk-extensions.h3
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,