summaryrefslogtreecommitdiff
path: root/source4/gtk/common/select.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-11 20:06:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:48 -0500
commit8e1ffff226e3016a38301a773ed8aa55bad5b710 (patch)
tree1cc15a9ac0c6f2f8a5dd56d1722347b151e99039 /source4/gtk/common/select.c
parent4d69d2d52b273359b481e1a7b99b9db3711d2768 (diff)
downloadsamba-8e1ffff226e3016a38301a773ed8aa55bad5b710.tar.gz
samba-8e1ffff226e3016a38301a773ed8aa55bad5b710.tar.bz2
samba-8e1ffff226e3016a38301a773ed8aa55bad5b710.zip
r2920: Support passing a handle to a SAMR pipe to a RPC Binding or Select
Host dialog so that one can select a domain from the list of known domains. (This used to be commit 5e0bab891199c888bdf87faa29acc38d9ca5151b)
Diffstat (limited to 'source4/gtk/common/select.c')
-rw-r--r--source4/gtk/common/select.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/gtk/common/select.c b/source4/gtk/common/select.c
index 653256c37e..3b29d0ed31 100644
--- a/source4/gtk/common/select.c
+++ b/source4/gtk/common/select.c
@@ -163,7 +163,6 @@ GtkWidget *gtk_select_domain_dialog_new (struct dcerpc_pipe *sam_pipe)
} else if (r.out.sam) {
for (i=0;i<r.out.sam->count;i++) {
GtkTreeIter iter;
- printf("- %s\n", r.out.sam->entries[i].name.name);
gtk_list_store_append(d->store_domains, &iter);
gtk_list_store_set (d->store_domains, &iter, 0, r.out.sam->entries[i].name.name, -1);
}
@@ -271,7 +270,7 @@ GType gtk_select_host_dialog_get_type (void)
return mytype;
}
-GtkWidget *gtk_select_host_dialog_new (BOOL nocredentials)
+GtkWidget *gtk_select_host_dialog_new (struct sam_pipe *sam_pipe, BOOL nocredentials)
{
return GTK_WIDGET ( gtk_type_new (gtk_select_host_dialog_get_type ()));
}