[goobox] added an explicit cast to GtkContainer



commit a5aeb9e66f5369c0cb1e752cb5c55ddd37ac0f18
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Jun 3 16:15:11 2012 +0200

    added an explicit cast to GtkContainer

 src/gth-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gth-window.c b/src/gth-window.c
index 46ab64a..7c34d48 100644
--- a/src/gth-window.c
+++ b/src/gth-window.c
@@ -319,7 +319,7 @@ gth_window_attach_get_content (GthWindow *window,
 	g_return_if_fail (GTH_IS_WINDOW (window));
 	g_return_if_fail (page >= 0 && page < window->priv->n_pages);
 
-	children = gtk_container_get_children (window->priv->contents[page]);
+	children = gtk_container_get_children (GTK_CONTAINER (window->priv->contents[page]));
 	if (children != NULL)
 		return children->data;
 	else



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