From b140884fec56d0ac5f15fe3937879a7a1dd6f0c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Tue, 14 Sep 2010 03:33:06 +0200 Subject: Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598 Signed-off-by: Javier Jardón Signed-off-by: Tristan Van Berkom --- gtk/gtksocket.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gtk/gtksocket.c') diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c index ed82739e2e..36d3119d8f 100644 --- a/gtk/gtksocket.c +++ b/gtk/gtksocket.c @@ -26,15 +26,18 @@ */ #include "config.h" + +#include "gtksocket.h" + #include #include "gdk/gdkkeysyms.h" #include "gtkmain.h" #include "gtkmarshalers.h" +#include "gtksizerequest.h" #include "gtkwindow.h" #include "gtkplug.h" #include "gtkprivate.h" -#include "gtksocket.h" #include "gtksocketprivate.h" #include "gtkdnd.h" #include "gtkintl.h" @@ -457,7 +460,8 @@ gtk_socket_size_request (GtkWidget *widget, if (socket->plug_widget) { - gtk_widget_size_request (socket->plug_widget, requisition); + gtk_size_request_get_size (GTK_SIZE_REQUEST (socket->plug_widget), + requisition, NULL); } else { -- cgit v1.2.1