diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2013-07-31 11:42:36 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2013-08-14 08:05:53 +0800 |
commit | 3b82b97e7320c807fe5bc736e9a73eb4a339a135 (patch) | |
tree | 503ac2c8cc56b11d824c51addc2e319341a2f0de /gtk/gtkstatusicon.c | |
parent | 9072be16a4b5e5a800f6f3207f7c2531a366c6b6 (diff) | |
download | gtk+-3b82b97e7320c807fe5bc736e9a73eb4a339a135.tar.gz |
GTK-Win32: Avoid Using Deprecated API
Replace the deprecated API calls with the updated APIs, and fix the build
of modules/input/gtkimcontextime.c, as we really needed
gdk/gdkkeysyms-compat.h (gdk/gdkkeysyms.h was already included)
https://bugzilla.gnome.org/show_bug.cgi?id=705068
Diffstat (limited to 'gtk/gtkstatusicon.c')
-rw-r--r-- | gtk/gtkstatusicon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c index 5d39db1c41..3363bb389b 100644 --- a/gtk/gtkstatusicon.c +++ b/gtk/gtkstatusicon.c @@ -2277,7 +2277,7 @@ gtk_status_icon_position_menu (GtkMenu *menu, status_icon = GTK_STATUS_ICON (user_data); priv = status_icon->priv; - gtk_widget_size_request (GTK_WIDGET (menu), &menu_req); + gtk_widget_get_preferred_size (GTK_WIDGET (menu), &menu_req, NULL); *x = priv->last_click_x; *y = priv->taskbar_top - menu_req.height; |