Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c
index 8ad8f28..6b6e1ff 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -20,6 +20,8 @@
#include "config.h"
+#include "ev-application.h"
+
#include <glib/gi18n.h>
#include <gtk/gtkmain.h>
#include <libgnome/gnome-program.h>
@@ -36,6 +38,7 @@ main (int argc, char *argv[])
poptContext context;
GValue context_as_value = { 0 };
GnomeProgram *program;
+ GtkWidget *window;
#ifdef ENABLE_NLS
/* Initialize the i18n stuff */
@@ -58,6 +61,9 @@ main (int argc, char *argv[])
g_value_init (&context_as_value, G_TYPE_POINTER));
context = g_value_get_pointer (&context_as_value);
+ window = GTK_WIDGET (ev_application_new_window (EV_APP));
+ gtk_widget_show (window);
+
gtk_main ();
poptFreeContext (context);