r2920: Support passing a handle to a SAMR pipe to a RPC Binding or Select
[samba.git] / source / gtk / common / select.c
index 653256c37eab4feb84b571ba69fd757a5f6f8fd3..3b29d0ed312cbda5548735664efd75d04fa37729 100644 (file)
@@ -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 ()));
 }