diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-12-21 18:48:35 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-12-21 18:48:35 (GMT) |
commit | 1f07e7ef80024b21326df177180e9575ab677163 (patch) | |
tree | 24fdabfa371aa2b0c8ee95bfef0b2b028e942542 /shell/main.c | |
parent | be75841a2e1cc6a5300fa0fdb5ec9e055b871bbd (diff) |
Actually show the window...
2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
* po/POTFILES.in:
* shell/ev-application.c: (window_destroy_cb):
* shell/ev-window.c:
* shell/main.c: (main):
Actually show the window...
Diffstat (limited to 'shell/main.c')
-rw-r--r-- | shell/main.c | 6 |
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); |