aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-gui.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-11-08 04:26:57 +0800
committerChristian Persch <chpe@src.gnome.org>2004-11-08 04:26:57 +0800
commit1f545ca03b769815e6e1da4cb180c5028d69d827 (patch)
treed5723fda7fecd99a4d8b8d6fa17a43b640773b24 /lib/ephy-gui.h
parent27909c033836613152167b9969b8014b98238006 (diff)
downloadgsoc2013-epiphany-1f545ca03b769815e6e1da4cb180c5028d69d827.tar
gsoc2013-epiphany-1f545ca03b769815e6e1da4cb180c5028d69d827.tar.gz
gsoc2013-epiphany-1f545ca03b769815e6e1da4cb180c5028d69d827.tar.bz2
gsoc2013-epiphany-1f545ca03b769815e6e1da4cb180c5028d69d827.tar.lz
gsoc2013-epiphany-1f545ca03b769815e6e1da4cb180c5028d69d827.tar.xz
gsoc2013-epiphany-1f545ca03b769815e6e1da4cb180c5028d69d827.tar.zst
gsoc2013-epiphany-1f545ca03b769815e6e1da4cb180c5028d69d827.zip
Sanitise the embed popup position. Fixes bug #157162.
2004-11-07 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_sanitise_popup_position), (ephy_gui_menu_position_tree_selection), (ephy_gui_menu_position_under_widget): * lib/ephy-gui.h: * src/ephy-window.c: (popup_menu_at_coords), (show_embed_popup): Sanitise the embed popup position. Fixes bug #157162.
Diffstat (limited to 'lib/ephy-gui.h')
-rw-r--r--lib/ephy-gui.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ephy-gui.h b/lib/ephy-gui.h
index 0c9c5a04c..caa4035d8 100644
--- a/lib/ephy-gui.h
+++ b/lib/ephy-gui.h
@@ -30,6 +30,11 @@
G_BEGIN_DECLS
+void ephy_gui_sanitise_popup_position (GtkMenu *menu,
+ GtkWidget *parent_widget,
+ gint *x,
+ gint *y);
+
void ephy_gui_menu_position_tree_selection (GtkMenu *menu,
gint *x,
gint *y,