[gnome-builder] glade: init glade and register generated icons



commit 3ae4b8c704a1a8119d172e85cf5a7bde23de0733
Author: Christian Hergert <chergert redhat com>
Date:   Sun Oct 21 20:37:21 2018 -0700

    glade: init glade and register generated icons

 src/plugins/glade/gbp-glade-plugin.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/plugins/glade/gbp-glade-plugin.c b/src/plugins/glade/gbp-glade-plugin.c
index 6f6d784e1..fc25067de 100644
--- a/src/plugins/glade/gbp-glade-plugin.c
+++ b/src/plugins/glade/gbp-glade-plugin.c
@@ -18,6 +18,7 @@
 
 #define G_LOG_DOMAIN "gbp-glade-plugin"
 
+#include <gladeui/glade.h>
 #include <ide.h>
 #include <libpeas/peas.h>
 
@@ -28,6 +29,8 @@
 void
 gbp_glade_register_types (PeasObjectModule *module)
 {
+  glade_init ();
+
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_EDITOR_ADDIN,
                                               GBP_TYPE_GLADE_EDITOR_ADDIN);


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