diff options
author | Günther Deschner <gd@samba.org> | 2008-06-05 19:02:09 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-06-05 19:39:17 +0200 |
commit | de89de4b58249aa6b73eae7399fe78e6b86e81f1 (patch) | |
tree | e310005152347b42318d89c323610f8bf2f5fffc /source3/lib/netapi/examples/netdomjoin-gui | |
parent | e3e1172979522da0b80dab2d683ca48381b1cfa8 (diff) | |
download | samba-de89de4b58249aa6b73eae7399fe78e6b86e81f1.tar.gz samba-de89de4b58249aa6b73eae7399fe78e6b86e81f1.tar.bz2 samba-de89de4b58249aa6b73eae7399fe78e6b86e81f1.zip |
netdomjoin-gui: fix more gtk runtime warnings.
Guenther
(This used to be commit 521ea68719524eeef827875e018bb8cba2a92e87)
Diffstat (limited to 'source3/lib/netapi/examples/netdomjoin-gui')
-rw-r--r-- | source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c index bfd4fea87e..1da8169f63 100644 --- a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c +++ b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c @@ -115,6 +115,7 @@ static void callback_do_close(GtkWidget *widget, if (data) { gtk_widget_destroy(GTK_WIDGET(data)); + data = NULL; } } @@ -150,6 +151,7 @@ static void callback_do_freeauth_and_close(GtkWidget *widget, } if (state->window_do_change) { gtk_widget_destroy(GTK_WIDGET(state->window_do_change)); + state->window_do_change = NULL; } } @@ -242,6 +244,7 @@ static void callback_do_exit(GtkWidget *widget, #endif if (state->window_main) { gtk_widget_destroy(GTK_WIDGET(state->window_main)); + state->window_main = NULL; } do_cleanup(state); exit(0); @@ -409,6 +412,7 @@ static void callback_do_storeauth(GtkWidget *widget, if (state->window_creds_prompt) { gtk_widget_destroy(GTK_WIDGET(state->window_creds_prompt)); + state->window_creds_prompt = NULL; } } |