From 6a9728101fa10bc47a2298fed0783316964eb84d Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Tue, 5 Oct 2010 14:16:32 +0900 Subject: Use gtk_widget_get_preferred_size instead of gtk_widget_size_request --- src/ephy-fullscreen-popup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ephy-fullscreen-popup.c') 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); -- cgit