From 8e1ffff226e3016a38301a773ed8aa55bad5b710 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 11 Oct 2004 20:06:42 +0000 Subject: 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) --- source4/gtk/common/select.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/gtk/common/select.c') 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;icount;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 ())); } -- cgit