aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2010-10-05 13:16:32 +0800
committerXan Lopez <xan@gnome.org>2010-10-05 13:16:32 +0800
commit6a9728101fa10bc47a2298fed0783316964eb84d (patch)
tree1b4eff184f6441a264b93b16801287b0b7ce8405 /src
parent2d556b740f1b21dd3b5652271de6194df0d48ac5 (diff)
downloadgsoc2013-epiphany-6a9728101fa10bc47a2298fed0783316964eb84d.tar
gsoc2013-epiphany-6a9728101fa10bc47a2298fed0783316964eb84d.tar.gz
gsoc2013-epiphany-6a9728101fa10bc47a2298fed0783316964eb84d.tar.bz2
gsoc2013-epiphany-6a9728101fa10bc47a2298fed0783316964eb84d.tar.lz
gsoc2013-epiphany-6a9728101fa10bc47a2298fed0783316964eb84d.tar.xz
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')
-rw-r--r--src/ephy-fullscreen-popup.c2
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);