[gnome-bluetooth] lib: do not try to set chooser title in test-deviceselection



commit 991052679fb8d69e7d7912e7353c4e9af861731a
Author: Daniele Forsi <dforsi src gnome org>
Date:   Tue Apr 24 17:52:25 2012 +0200

    lib: do not try to set chooser title in test-deviceselection
    
    The "title" property was removed in commit e80873399fa3a4cf412d2d12e7ed57f610975e7f
    Fixes:
    GLib-GObject-WARNING **: g_object_new_valist: object class `BluetoothChooser' has no property named `title'

 lib/test-deviceselection.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/lib/test-deviceselection.c b/lib/test-deviceselection.c
index e14da94..d428094 100644
--- a/lib/test-deviceselection.c
+++ b/lib/test-deviceselection.c
@@ -351,9 +351,7 @@ create_filter_dialogue (void)
 	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
 	gtk_widget_show (hbox);
 
-	selector = g_object_new (BLUETOOTH_TYPE_CHOOSER,
-				 "title", "Select new device to setup",
-				 NULL);
+	selector = bluetooth_chooser_new();
 	gtk_container_set_border_width(GTK_CONTAINER(selector), 5);
 	gtk_widget_show(selector);
 	g_object_set(selector,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]