[nautilus/rendering-cleanup: 11/17] [libnautilus-private] Use gtk_size_request_get_size()



commit 58fa3e93975933f8f8e53df67e4edc45c3d62cfc
Author: Christian Persch <chpe gnome org>
Date:   Thu Sep 16 15:16:15 2010 +0200

    [libnautilus-private] Use gtk_size_request_get_size()
    
    ... instead of the deprecated gtk_widget_get_child_requisition().

 libnautilus-private/nautilus-horizontal-splitter.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libnautilus-private/nautilus-horizontal-splitter.c b/libnautilus-private/nautilus-horizontal-splitter.c
index fa09d87..402dadf 100644
--- a/libnautilus-private/nautilus-horizontal-splitter.c
+++ b/libnautilus-private/nautilus-horizontal-splitter.c
@@ -247,8 +247,8 @@ nautilus_horizontal_splitter_size_allocate (GtkWidget     *widget,
 			gdk_window_hide (gtk_paned_get_handle_window (paned));
 		}
 
-		gtk_widget_get_child_requisition (gtk_paned_get_child1 (paned),
-						  &child_requisition);
+                gtk_size_request_get_size (GTK_SIZE_REQUEST (gtk_paned_get_child1 (paned)),
+                                           &child_requisition, NULL);
 		
 		child_allocation.x = allocation->x + border_width;
 		child_allocation.y = allocation->y + border_width;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]