[nautilus] [file-manager] GSEAL fm-icon-view.



commit df190cef8cb35e0f5a717d8bd28b810ab8304137
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Jun 11 13:19:08 2010 +0200

    [file-manager] GSEAL fm-icon-view.

 src/file-manager/fm-icon-view.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c
index 18b5772..0c20df7 100644
--- a/src/file-manager/fm-icon-view.c
+++ b/src/file-manager/fm-icon-view.c
@@ -243,7 +243,7 @@ fm_icon_view_finalize (GObject *object)
 static NautilusIconContainer *
 get_icon_container (FMIconView *icon_view)
 {
-	return NAUTILUS_ICON_CONTAINER (GTK_BIN (icon_view)->child);
+	return NAUTILUS_ICON_CONTAINER (gtk_bin_get_child (GTK_BIN (icon_view)));
 }
 
 static gboolean
@@ -2767,7 +2767,7 @@ create_icon_container (FMIconView *icon_view)
 
 	icon_container = fm_icon_container_new (icon_view);
 
-	GTK_WIDGET_SET_FLAGS (icon_container, GTK_CAN_FOCUS);
+	gtk_widget_set_can_focus (GTK_WIDGET (icon_container), TRUE);
 	
 	g_signal_connect_object (icon_container, "focus_in_event",
 			 G_CALLBACK (focus_in_event_callback), icon_view, 0);
@@ -3046,7 +3046,7 @@ fm_icon_view_init (FMIconView *icon_view)
 	static gboolean setup_sound_preview = FALSE;
 	NautilusIconContainer *icon_container;
 
-        g_return_if_fail (GTK_BIN (icon_view)->child == NULL);
+        g_return_if_fail (gtk_bin_get_child (GTK_BIN (icon_view)) == NULL);
 
 	icon_view->details = g_new0 (FMIconViewDetails, 1);
 	icon_view->details->sort = &sort_criteria[0];



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