summaryrefslogtreecommitdiff
path: root/gladeui/glade-signal-model.c
diff options
context:
space:
mode:
authorJohannes Schmid <jhs@gnome.org>2011-01-09 12:53:15 +0100
committerJohannes Schmid <jhs@gnome.org>2011-01-09 12:53:15 +0100
commit8b4729ecf123d5b3cf0c48c68c49ab67a42fccac (patch)
tree891a41a653450bd1983bf14e1280a620e4b27582 /gladeui/glade-signal-model.c
parent1c4535d3d06876bf88b402277194d83fb49924e1 (diff)
downloadglade-8b4729ecf123d5b3cf0c48c68c49ab67a42fccac.tar.gz
gladeui: Reflect in tree model that GladeSignal is an object and use proper refcounting
Diffstat (limited to 'gladeui/glade-signal-model.c')
-rw-r--r--gladeui/glade-signal-model.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gladeui/glade-signal-model.c b/gladeui/glade-signal-model.c
index 46765c56..2ce0418d 100644
--- a/gladeui/glade-signal-model.c
+++ b/gladeui/glade-signal-model.c
@@ -26,7 +26,7 @@
#include <string.h>
#define HANDLER_DEFAULT _("<Type here>")
-#define USERDATA_DEFAULT _("<Object>")
+#define USERDATA_DEFAULT _("<Click here>")
struct _GladeSignalModelPrivate
{
@@ -255,7 +255,7 @@ glade_signal_model_get_column_type (GtkTreeModel* model,
case GLADE_SIGNAL_COLUMN_TOOLTIP:
return G_TYPE_STRING;
case GLADE_SIGNAL_COLUMN_SIGNAL:
- return G_TYPE_POINTER;
+ return G_TYPE_OBJECT;
default:
g_assert_not_reached();
return G_TYPE_NONE;
@@ -640,7 +640,7 @@ glade_signal_model_get_value (GtkTreeModel* model,
g_value_set_static_string (value, NULL);
break;
case GLADE_SIGNAL_COLUMN_SIGNAL:
- g_value_set_pointer (value, handler);
+ g_value_set_object (value, handler);
break;
default:
g_assert_not_reached();