aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/test-multi-config-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/test-multi-config-dialog.c')
-rw-r--r--widgets/misc/test-multi-config-dialog.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/widgets/misc/test-multi-config-dialog.c b/widgets/misc/test-multi-config-dialog.c
index 28ed8d3eae..bc52f493c6 100644
--- a/widgets/misc/test-multi-config-dialog.c
+++ b/widgets/misc/test-multi-config-dialog.c
@@ -23,8 +23,6 @@
#include "e-multi-config-dialog.c"
#include <gtk/gtk.h>
-#include <libgnomeui/gnome-app.h>
-#include <libgnomeui/gnome-ui-init.h>
#define NUM_PAGES 10
@@ -77,15 +75,13 @@ main (int argc, char **argv)
{
GtkWidget *dialog;
- gnome_program_init (
- "test-multi-config-dialog", "0.0", LIBGNOMEUI_MODULE,
- argc, argv, GNOME_PARAM_NONE);
+ gtk_init (&argc, &argv);
dialog = e_multi_config_dialog_new ();
- gtk_window_set_default_size (GTK_WINDOW (dialog), 400, 300);
- g_signal_connect((dialog), "delete_event",
- G_CALLBACK (delete_event_callback), NULL);
+ g_signal_connect(
+ dialog, "delete-event",
+ G_CALLBACK (delete_event_callback), NULL);
add_pages (E_MULTI_CONFIG_DIALOG (dialog));