aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/test-dateedit.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-02 16:25:03 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-02 16:25:03 +0800
commit9c73777f2268b5bf2622f893e2a3ba7d0f720572 (patch)
treef81b79f19b87f84b4429d329b3fc0f9ff7946060 /widgets/misc/test-dateedit.c
parent236c15d106b4e740d4e3996e0649334ca8e13876 (diff)
downloadgsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.tar.gz
gsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.tar.zst
gsoc2013-evolution-9c73777f2268b5bf2622f893e2a3ba7d0f720572.zip
First big sync of my GNOME 2 porting work (incomplete, and still
pretty broken). Weeeeee! svn path=/trunk/; revision=18503
Diffstat (limited to 'widgets/misc/test-dateedit.c')
-rw-r--r--widgets/misc/test-dateedit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/misc/test-dateedit.c b/widgets/misc/test-dateedit.c
index 94771d8ebb..79038bc79c 100644
--- a/widgets/misc/test-dateedit.c
+++ b/widgets/misc/test-dateedit.c
@@ -34,8 +34,8 @@
#include <gtk/gtkmain.h>
#include <gtk/gtktable.h>
#include <gtk/gtkwindow.h>
+#include <libgnomeui/gnome-ui-init.h>
#include <libgnomeui/gnome-app.h>
-#include <libgnomeui/gnome-init.h>
#include "e-dateedit.h"
static void delete_event_cb (GtkWidget *widget,
@@ -61,7 +61,9 @@ main (int argc, char **argv)
EDateEdit *dedit;
GtkWidget *table, *button;
- gnome_init ("test-dateedit", "0.0", argc, argv);
+ gnome_program_init ("test-dateedit", "0.0", LIBGNOMEUI_MODULE, argc, argv, NULL);
+
+ puts ("here");
app = gnome_app_new ("Test", "Test");
gtk_window_set_default_size (GTK_WINDOW (app), 300, 200);