aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/test-dateedit.c
diff options
context:
space:
mode:
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);