[libgda] GdaUiBasicForm: Avoid a compiler warning.



commit 25b46a8ed5cc7dcf6fa7fc63b2e4d7f35b9d2c4f
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue May 25 16:22:18 2010 +0200

    GdaUiBasicForm: Avoid a compiler warning.

 libgda-ui/gdaui-basic-form.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda-ui/gdaui-basic-form.c b/libgda-ui/gdaui-basic-form.c
index 7d0e1b4..13e535b 100644
--- a/libgda-ui/gdaui-basic-form.c
+++ b/libgda-ui/gdaui-basic-form.c
@@ -854,7 +854,7 @@ create_entry_widget (SingleEntry *sentry)
 			break;
 		case GDAUI_BASIC_FORM_ENTRIES:
 			if (sentry->entry)
-				gtk_size_group_add_widget (sg->size_group, sentry->entry);
+				gtk_size_group_add_widget (sg->size_group, GTK_WIDGET (sentry->entry));
 			break;
 		default:
 			g_assert_not_reached ();



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