diff options
author | Günther Deschner <gd@samba.org> | 2008-01-07 12:19:56 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-01-07 12:48:21 +0100 |
commit | e6c3ac59c5adb433d6269cae7141e575da7fdc8d (patch) | |
tree | 6119750b80cfbcc501e1262d24d88ffadd7a227b /source3/lib/netapi/examples/netdomjoin-gui | |
parent | 6345220151c4b09380b0b461f51309c043052916 (diff) | |
download | samba-e6c3ac59c5adb433d6269cae7141e575da7fdc8d.tar.gz samba-e6c3ac59c5adb433d6269cae7141e575da7fdc8d.tar.bz2 samba-e6c3ac59c5adb433d6269cae7141e575da7fdc8d.zip |
Failure while unjoining a domain is non-critical.
Just continue joining to the workgroup in that case.
Guenther
(This used to be commit bf9ce2a928e3136d3bfe368f75d5b99273c5b04f)
Diffstat (limited to 'source3/lib/netapi/examples/netdomjoin-gui')
-rw-r--r-- | source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c index d12e66bb26..1e1681ba37 100644 --- a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c +++ b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c @@ -449,14 +449,8 @@ static void callback_do_join(GtkWidget *widget, initial_workgroup_type, state->name_buffer_initial, err_str); - - g_signal_connect_swapped(dialog, "response", - G_CALLBACK(gtk_widget_destroy), - dialog); - - gtk_widget_show(dialog); - - return; + gtk_dialog_run(GTK_DIALOG(dialog)); + gtk_widget_destroy(dialog); } } |