diff options
author | Xan Lopez <xan@gnome.org> | 2010-10-05 13:16:32 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2010-10-05 13:16:32 +0800 |
commit | 6a9728101fa10bc47a2298fed0783316964eb84d (patch) | |
tree | 1b4eff184f6441a264b93b16801287b0b7ce8405 /src/ephy-fullscreen-popup.c | |
parent | 2d556b740f1b21dd3b5652271de6194df0d48ac5 (diff) | |
download | gsoc2013-epiphany-6a9728101fa10bc47a2298fed0783316964eb84d.tar.gz gsoc2013-epiphany-6a9728101fa10bc47a2298fed0783316964eb84d.tar.zst gsoc2013-epiphany-6a9728101fa10bc47a2298fed0783316964eb84d.zip |
Use gtk_widget_get_preferred_size instead of gtk_widget_size_request
Diffstat (limited to 'src/ephy-fullscreen-popup.c')
-rw-r--r-- | src/ephy-fullscreen-popup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-fullscreen-popup.c b/src/ephy-fullscreen-popup.c index 8cefbefc3..af1024928 100644 --- a/src/ephy-fullscreen-popup.c +++ b/src/ephy-fullscreen-popup.c @@ -121,7 +121,7 @@ ephy_fullscreen_popup_update_position (EphyFullscreenPopup *popup) GdkRectangle screen_rect; int popup_width; - gtk_widget_size_request (widget, &requisition); + gtk_widget_get_preferred_size (widget, &requisition, NULL); popup_width = requisition.width; screen = gtk_widget_get_screen (widget); |