[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-2728-g8f0c5f1
Günther Deschner
gd at samba.org
Thu Jun 5 08:11:58 GMT 2008
The branch, v3-3-test has been updated
via 8f0c5f1bedaae7a86ca671cdb2ba798079ec1d84 (commit)
from f9e5450c9492b0f35bd90040739007963e765ab1 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 8f0c5f1bedaae7a86ca671cdb2ba798079ec1d84
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 5 01:11:23 2008 +0200
netdomjoin-gui: disable annoying "reboot now" dialog.
Guenther
-----------------------------------------------------------------------
Summary of changes:
.../examples/netdomjoin-gui/netdomjoin-gui.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c b/source/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c
index dd4e4ad..bfd4fea 100644
--- a/source/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c
+++ b/source/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));
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list