summaryrefslogtreecommitdiff
path: root/source4/gtk/common/select.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-05-03 09:11:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:33 -0500
commit86a2f18b964c358eb8c8d59381be5eb5962f3b4b (patch)
treef6809775428c2ee956d976d73ec8768025f236f0 /source4/gtk/common/select.h
parent37aa2c5e8ff628d8ad51497a165da8a58cb2d1f5 (diff)
downloadsamba-86a2f18b964c358eb8c8d59381be5eb5962f3b4b.tar.gz
samba-86a2f18b964c358eb8c8d59381be5eb5962f3b4b.tar.bz2
samba-86a2f18b964c358eb8c8d59381be5eb5962f3b4b.zip
r15408: Fix some small bugs in the GTK+ tools
Add utility function for connection to an interface (This used to be commit 266f7472209e6ae4f70688cf06b8efa63d036d04)
Diffstat (limited to 'source4/gtk/common/select.h')
-rw-r--r--source4/gtk/common/select.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/gtk/common/select.h b/source4/gtk/common/select.h
index 006d228e42..ddf9b1a5a9 100644
--- a/source4/gtk/common/select.h
+++ b/source4/gtk/common/select.h
@@ -22,8 +22,6 @@
#ifndef __GTK_SELECT_H__
#define __GTK_SELECT_H__
-#ifdef HAVE_GTK
-
#define GTK_DISABLE_DEPRECATED
#include <gtk/gtk.h>
@@ -80,7 +78,7 @@ GtkWidget *gtk_select_host_dialog_new (struct dcerpc_pipe *sam_pipe);
const char *gtk_select_host_dialog_get_host (GtkSelectHostDialog *d);
GType gtk_select_host_dialog_get_type (void);
-
-#endif
+struct dcerpc_interface_table;
+struct dcerpc_pipe *gtk_connect_rpc_interface(TALLOC_CTX *mem_ctx, const struct dcerpc_interface_table *table);
#endif