[glade] * gladeui/glade-previewer.c: Initialize core library so that plugin types can be previewed.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] * gladeui/glade-previewer.c: Initialize core library so that plugin types can be previewed.
- Date: Tue, 1 Mar 2011 22:47:53 +0000 (UTC)
commit 89ff5e2c12bba193fc09cac7accbcac1b4c3f83e
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Tue Mar 1 19:45:41 2011 +0900
* gladeui/glade-previewer.c: Initialize core library so that plugin types can be previewed.
ChangeLog | 4 ++++
gladeui/glade-previewer.c | 3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 98ed9e3..c46bd8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-01 Marco Diego Aurélio Mesquita <marcodiegomesquita gmail com>
+
+ * gladeui/glade-previewer.c: Initialize core library so that plugin types can be previewed.
+
2011-03-01 Tristan Van Berkom <tristanvb openismus com>
* gladeui/glade-property-class.c: When a property is disabled, mark it explicitly
diff --git a/gladeui/glade-previewer.c b/gladeui/glade-previewer.c
index 10788f5..58d9a9b 100644
--- a/gladeui/glade-previewer.c
+++ b/gladeui/glade-previewer.c
@@ -417,6 +417,9 @@ main (int argc, char **argv)
parse_arguments (argc, argv, &toplevel_name, &file_name);
+ gtk_init (&argc, &argv);
+ glade_app_get ();
+
if (file_name != NULL)
{
preview_file (toplevel_name, file_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]