[glade3/offscreen: 5/7] gladeui: Fix warning



commit a4e1fddaf6cb3b456fcfa14f61fc97d4f0e8100d
Author: Johannes Schmid <jhs gnome org>
Date:   Mon Nov 15 14:49:57 2010 +0100

    gladeui: Fix warning

 gladeui/glade-command.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gladeui/glade-command.c b/gladeui/glade-command.c
index 0202d9c..f3abb74 100644
--- a/gladeui/glade-command.c
+++ b/gladeui/glade-command.c
@@ -911,7 +911,7 @@ GLADE_MAKE_COMMAND (GladeCommandAddRemove, glade_command_add_remove);
 static void 
 glade_command_placeholder_destroyed (GtkWidget *object, CommandData *cdata)
 {
-	if (cdata->placeholder == object)
+	if (GTK_WIDGET (cdata->placeholder) == object)
 	{
 		cdata->placeholder = NULL;
 		cdata->handler_id = 0;



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