[glade] Added GladeApp::widget-adaptor-registered signal
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] Added GladeApp::widget-adaptor-registered signal
- Date: Wed, 31 Oct 2012 20:04:46 +0000 (UTC)
commit 1510d1a06ace61238c5477299de2f5c91da87db0
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Sat Oct 20 15:02:02 2012 -0700
Added GladeApp::widget-adaptor-registered signal
gladeui/glade-app.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/gladeui/glade-app.c b/gladeui/glade-app.c
index f5d0a3e..402c566 100644
--- a/gladeui/glade-app.c
+++ b/gladeui/glade-app.c
@@ -61,6 +61,7 @@ enum
{
DOC_SEARCH,
SIGNAL_EDITOR_CREATED,
+ WIDGET_ADAPTOR_REGISTERED,
LAST_SIGNAL
};
@@ -411,6 +412,21 @@ glade_app_class_init (GladeAppClass * klass)
_glade_marshal_VOID__OBJECT,
G_TYPE_NONE, 1, G_TYPE_OBJECT);
+ /**
+ * GladeApp::widget-adaptor-registered:
+ * @gladeapp: the #GladeApp which received the signal.
+ * @adaptor: the newlly registered #GladeWidgetAdaptor.
+ *
+ * Emitted when a new widget adaptor is registered.
+ */
+ glade_app_signals[WIDGET_ADAPTOR_REGISTERED] =
+ g_signal_new ("widget-adaptor-registered",
+ G_TYPE_FROM_CLASS (object_class),
+ G_SIGNAL_RUN_LAST,
+ 0, NULL, NULL,
+ _glade_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1, G_TYPE_OBJECT);
+
g_type_class_add_private (klass, sizeof (GladeAppPrivate));
gdk_event_handler_set (glade_app_event_handler, NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]