[glade] Removed glade-gtk.c, now all adaptor code is in separate C files.



commit a3336ff6ffb8507608946e90ea797f890c3ba88b
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sat May 4 16:19:03 2013 +0900

    Removed glade-gtk.c, now all adaptor code is in separate C files.

 plugins/gtk+/Makefile.am        |    1 -
 plugins/gtk+/glade-gtk-widget.c |   10 +++++
 plugins/gtk+/glade-gtk.c        |   81 ---------------------------------------
 po/POTFILES.in                  |    1 -
 4 files changed, 10 insertions(+), 83 deletions(-)
---
diff --git a/plugins/gtk+/Makefile.am b/plugins/gtk+/Makefile.am
index 1443ee3..0d09f21 100644
--- a/plugins/gtk+/Makefile.am
+++ b/plugins/gtk+/Makefile.am
@@ -32,7 +32,6 @@ libgladegtk_la_SOURCES =              \
        glade-column-types.c            \
        glade-entry-editor.c            \
        glade-fixed.c                   \
-       glade-gtk.c                     \
        glade-gtk-about-dialog.c        \
        glade-gtk-action.c              \
        glade-gtk-action-group.c        \
diff --git a/plugins/gtk+/glade-gtk-widget.c b/plugins/gtk+/glade-gtk-widget.c
index ba4f09a..c5b6f0b 100644
--- a/plugins/gtk+/glade-gtk-widget.c
+++ b/plugins/gtk+/glade-gtk-widget.c
@@ -44,6 +44,16 @@
 #define GLADE_TAG_STYLE             "style"
 #define GLADE_TAG_CLASS             "class"
 
+
+/* This function does absolutely nothing
+ * (and is for use in overriding some post_create functions
+ * throughout the catalog).
+ */
+void
+empty (GObject * container, GladeCreateReason reason)
+{
+}
+
 static const gchar *atk_relations_list[] = {
   "controlled-by",
   "controller-for",
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 35efdf6..7eee2bf 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -61,7 +61,6 @@ plugins/gtk+/glade-cell-renderer-editor.c
 plugins/gtk+/glade-column-types.c
 plugins/gtk+/glade-entry-editor.c
 plugins/gtk+/glade-fixed.c
-plugins/gtk+/glade-gtk.c
 plugins/gtk+/glade-gtk-about-dialog.c
 plugins/gtk+/glade-gtk-action.c
 plugins/gtk+/glade-gtk-action-group.c


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