summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/tree.c
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2002-11-15 22:51:03 +0000
committerRichard Sharpe <sharpe@samba.org>2002-11-15 22:51:03 +0000
commitb45c92f31ea0442d623ac2d92dcd97215c1ed481 (patch)
tree812e8c1b21e55d5df4d0d14f9332e4ea55fb87a5 /examples/libsmbclient/tree.c
parentf85da55c3778632b14cc99b4032db4cf33b54bb6 (diff)
downloadsamba-b45c92f31ea0442d623ac2d92dcd97215c1ed481.tar.gz
samba-b45c92f31ea0442d623ac2d92dcd97215c1ed481.tar.bz2
samba-b45c92f31ea0442d623ac2d92dcd97215c1ed481.zip
Fix some problems with tree.c reported by users.
(This used to be commit b0772a1a0531896d5b343863434622d4d0ff437f)
Diffstat (limited to 'examples/libsmbclient/tree.c')
-rw-r--r--examples/libsmbclient/tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/libsmbclient/tree.c b/examples/libsmbclient/tree.c
index da60236e60..f357c0306d 100644
--- a/examples/libsmbclient/tree.c
+++ b/examples/libsmbclient/tree.c
@@ -51,7 +51,8 @@ void error_message(gchar *message) {
/* Ensure that the dialog box is destroyed when the user clicks ok. */
gtk_signal_connect_object (GTK_OBJECT (okay_button), "clicked",
- GTK_SIGNAL_FUNC (gtk_widget_destroy), dialog);
+ GTK_SIGNAL_FUNC (gtk_widget_destroy),
+ GTK_OBJECT(dialog));
gtk_container_add (GTK_CONTAINER (GTK_DIALOG(dialog)->action_area),
okay_button);