diff options
author | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2014-05-07 15:43:29 -0300 |
---|---|---|
committer | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2014-05-07 15:44:47 -0300 |
commit | 2656b6fa8fe4bdef0502897f590d6b5085a55adf (patch) | |
tree | 75fb1bc8a7a2442055f83bf4d61532091d6021f8 | |
parent | f9d19530f1b7be33b1c81c71b4cbb2c48c50df7d (diff) | |
download | glade-2656b6fa8fe4bdef0502897f590d6b5085a55adf.tar.gz |
GladePreviewer: ignore signal connections to avoid warnings about missing symbols.
-rw-r--r-- | gladeui/glade-preview-template.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gladeui/glade-preview-template.c b/gladeui/glade-preview-template.c index 847150a8..1f9cdb82 100644 --- a/gladeui/glade-preview-template.c +++ b/gladeui/glade-preview-template.c @@ -44,12 +44,25 @@ template_init (GTypeInstance *instance, gpointer g_class) gtk_widget_init_template (GTK_WIDGET (instance)); } +static void +template_connect_function (GtkBuilder *builder, + GObject *object, + const gchar *signal_name, + const gchar *handler_name, + GObject *connect_object, + GConnectFlags flags, + gpointer data) +{ + /* Ignore signal connections */ +} + /* Need to associate the class with a template */ static void template_class_init (gpointer g_class, gpointer user_data) { TypeData *data = user_data; gtk_widget_class_set_template (g_class, data->template_data); + gtk_widget_class_set_connect_func (g_class, template_connect_function, NULL, NULL); } static GQuark type_data_quark = 0; |