diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-01 23:37:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:12 -0500 |
commit | f20f1f994ac375ab96cc8a38075b99aa20041b3f (patch) | |
tree | 1f42756291e0246863248d9203508b9057cf7d7c /source4/gtk/common | |
parent | 75b2790da896dee22e638bcc760d26c5064a9b3c (diff) | |
download | samba-f20f1f994ac375ab96cc8a38075b99aa20041b3f.tar.gz samba-f20f1f994ac375ab96cc8a38075b99aa20041b3f.tar.bz2 samba-f20f1f994ac375ab96cc8a38075b99aa20041b3f.zip |
r3445: made the gtk tooks use minimal includes. This approximately halves the
total include lines in compiling C files in Samba (the .gch file is
now 5M instead of 12M)
This also gets rid of the silly gtk compile warning for non-gtk code
(This used to be commit 8ebd20cf551c8c1fad98ec723d91873fa202b85a)
Diffstat (limited to 'source4/gtk/common')
-rw-r--r-- | source4/gtk/common/gtk-smb.c | 3 | ||||
-rw-r--r-- | source4/gtk/common/gtk-smb.h | 19 | ||||
-rw-r--r-- | source4/gtk/common/select.c | 3 |
3 files changed, 23 insertions, 2 deletions
diff --git a/source4/gtk/common/gtk-smb.c b/source4/gtk/common/gtk-smb.c index 9553827cd0..9806c8903f 100644 --- a/source4/gtk/common/gtk-smb.c +++ b/source4/gtk/common/gtk-smb.c @@ -20,7 +20,8 @@ */ #include "includes.h" -#include "gtk-smb.h" +#include "gtk/common/select.h" +#include "gtk/common/gtk-smb.h" void gtk_show_werror(GtkWidget *win, WERROR err) { diff --git a/source4/gtk/common/gtk-smb.h b/source4/gtk/common/gtk-smb.h index 6e82678c75..90209d671f 100644 --- a/source4/gtk/common/gtk-smb.h +++ b/source4/gtk/common/gtk-smb.h @@ -59,4 +59,23 @@ struct _GtkRpcBindingDialogClass #endif +/* subsystem prototypes */ +GtkWidget *create_gtk_samba_about_dialog (const char *appname); +void gtk_show_ntstatus(GtkWidget *win, NTSTATUS status); +GtkWidget *gtk_rpc_binding_dialog_new (BOOL nocredentials, struct sam_pipe *sam_pipe); +GType gtk_rpc_binding_dialog_get_type (void); +struct dcerpc_binding *gtk_rpc_binding_dialog_get_binding(GtkRpcBindingDialog *d, TALLOC_CTX *mem_ctx); +GtkWidget *gtk_select_host_dialog_new (struct sam_pipe *sam_pipe, BOOL nocredentials); +const char *gtk_select_host_dialog_get_host (GtkSelectHostDialog *d); +GType gtk_select_host_dialog_get_type (void); +void gtk_show_werror(GtkWidget *win, WERROR err); +const char *gtk_rpc_binding_dialog_get_binding_string(GtkRpcBindingDialog *d, TALLOC_CTX *mem_ctx); +const char *gtk_rpc_binding_dialog_get_username(GtkRpcBindingDialog *d); +const char *gtk_rpc_binding_dialog_get_password(GtkRpcBindingDialog *d); +const char *gtk_rpc_binding_dialog_get_host(GtkRpcBindingDialog *d); +GtkWidget *gtk_select_domain_dialog_new (struct dcerpc_pipe *sam_pipe); +GType gtk_select_domain_dialog_get_type (void); +struct policy_handle gtk_select_domain_dialog_get_handle(GtkSelectDomainDialog *d); + + #endif diff --git a/source4/gtk/common/select.c b/source4/gtk/common/select.c index bab21d38fe..d5d0d6cac4 100644 --- a/source4/gtk/common/select.c +++ b/source4/gtk/common/select.c @@ -21,7 +21,8 @@ #include "includes.h" #include "librpc/gen_ndr/ndr_samr.h" -#include "gtk-smb.h" +#include "gtk/common/select.h" +#include "gtk/common/gtk-smb.h" /* GtkSelectDomainDialog */ |