diff options
author | monsta <[email protected]> | 2016-12-01 14:18:33 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-12-01 14:18:33 +0300 |
commit | a4dcd9177a32626929783b3920d660782d89bf01 (patch) | |
tree | 14ff25db71978942a5e15d1ee60fbb75f493ccff /pluma/pluma.c | |
parent | 346618b16b111afcb8687d301e344e229ce7fa0c (diff) | |
download | pluma-a4dcd9177a32626929783b3920d660782d89bf01.tar.bz2 pluma-a4dcd9177a32626929783b3920d660782d89bf01.tar.xz |
build GObject introspection data
mostly adapted from eom and from this upstream commit:
https://git.gnome.org/browse/gedit/commit/?id=58921206b7dea94d0ec0359dc43de94745f2a19e
Diffstat (limited to 'pluma/pluma.c')
-rw-r--r-- | pluma/pluma.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pluma/pluma.c b/pluma/pluma.c index 4fb5a752..ef05db8c 100644 --- a/pluma/pluma.c +++ b/pluma/pluma.c @@ -42,6 +42,10 @@ #include <gtk/gtk.h> #include <gdk/gdkx.h> +#ifdef HAVE_INTROSPECTION +#include <girepository.h> +#endif + #include "pluma-app.h" #include "pluma-commands.h" #include "pluma-debug.h" @@ -522,6 +526,10 @@ main (int argc, char *argv[]) g_option_context_add_group (context, gtk_get_option_group (FALSE)); g_option_context_add_group (context, egg_sm_client_get_option_group ()); +#ifdef HAVE_INTROSPECTION + g_option_context_add_group (context, g_irepository_get_option_group ()); +#endif + gtk_init (&argc, &argv); if (!g_option_context_parse (context, &argc, &argv, &error)) |