From 19e5ee0e094c563521e6515294f448f7136a928f Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 5 Jun 2008 01:11:23 +0200 Subject: netdomjoin-gui: disable annoying "reboot now" dialog. Guenther (This used to be commit 8f0c5f1bedaae7a86ca671cdb2ba798079ec1d84) --- source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c') diff --git a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c index dd4e4ad394..bfd4fea87e 100644 --- a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c +++ b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c @@ -209,8 +209,10 @@ static void callback_apply_description_change(GtkWidget *widget, static void callback_do_exit(GtkWidget *widget, gpointer data) { +#if 0 GtkWidget *dialog; gint result; +#endif struct join_state *state = (struct join_state *)data; if (!state->settings_changed) { @@ -218,6 +220,7 @@ static void callback_do_exit(GtkWidget *widget, return; } +#if 0 dialog = gtk_message_dialog_new(GTK_WINDOW(state->window_main), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, @@ -236,6 +239,7 @@ static void callback_do_exit(GtkWidget *widget, if (dialog) { gtk_widget_destroy(GTK_WIDGET(dialog)); } +#endif if (state->window_main) { gtk_widget_destroy(GTK_WIDGET(state->window_main)); } -- cgit