aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2005-07-04 05:38:55 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2005-07-04 05:38:55 +0800
commit0e935c597fe2e3e00f672b98f77eaebf48660857 (patch)
tree158d7f1f7afde6398bb207805c77dc864018d6ae /src/ephy-window.c
parentb0488b2a6c81ef558613c34fb398a111643b72e3 (diff)
downloadgsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.gz
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.bz2
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.lz
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.xz
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.zst
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.zip
EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning).
2005-07-03 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-cookie-manager.h: EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning). * embed/ephy-favicon-cache.c: * lib/ephy-file-helpers.c: * lib/ephy-langs.c: * lib/ephy-node-db.c: * lib/ephy-node.c: * lib/ephy-state.c: * lib/egg/eggtraymanager.c: * src/ephy-extensions-manager.c: * src/ephy-main.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-window.c: Fixes more signed/unsigned problems with gcc 4.0.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 54a7bce81..186458fbd 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1538,11 +1538,13 @@ popup_menu_at_coords (GtkMenu *menu, gint *x, gint *y, gboolean *push_in,
{
GtkWidget *window = GTK_WIDGET (user_data);
EphyEmbedEvent *event;
+ guint ux, uy;
event = g_object_get_data (G_OBJECT (window), "context_event");
g_return_if_fail (event != NULL);
- ephy_embed_event_get_coords (event, x, y);
+ ephy_embed_event_get_coords (event, &ux, &uy);
+ *x = ux; *y = uy;
/* FIXME: better position the popup within the window bounds? */
ephy_gui_sanitise_popup_position (menu, window, x, y);