[gnome-bluetooth] lib: Make bluetooth_chooser_get_scrolled_window() public



commit 3595dabf3759a884d2b646037a4425f71d214eb1
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Oct 18 16:28:40 2011 +0100

    lib: Make bluetooth_chooser_get_scrolled_window() public

 lib/bluetooth-chooser-private.h |    1 -
 lib/bluetooth-chooser.c         |    3 +++
 lib/bluetooth-chooser.h         |    2 ++
 3 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/lib/bluetooth-chooser-private.h b/lib/bluetooth-chooser-private.h
index cb02ca5..f500469 100644
--- a/lib/bluetooth-chooser-private.h
+++ b/lib/bluetooth-chooser-private.h
@@ -33,7 +33,6 @@ G_BEGIN_DECLS
 GtkTreeModel *bluetooth_chooser_get_model (BluetoothChooser *self);
 GtkTreeViewColumn *bluetooth_chooser_get_device_column (BluetoothChooser *self);
 GtkWidget *bluetooth_chooser_get_treeview (BluetoothChooser *self);
-GtkWidget *bluetooth_chooser_get_scrolled_window (BluetoothChooser *self);
 gboolean bluetooth_chooser_remove_selected_device (BluetoothChooser *self);
 
 G_END_DECLS
diff --git a/lib/bluetooth-chooser.c b/lib/bluetooth-chooser.c
index 5ba7ff0..12918f5 100644
--- a/lib/bluetooth-chooser.c
+++ b/lib/bluetooth-chooser.c
@@ -434,6 +434,9 @@ bluetooth_chooser_get_treeview (BluetoothChooser *self)
  * @self: A #BluetoothChooser widget.
  *
  * Returns the #GtkScrolledWindow object for the #BluetoothChooser.
+ * This is useful to set a minimum height to the chooser using
+ * gtk_scrolled_window_set_min_content_height() or to join the
+ * chooser with a toolbar.
  *
  * Return value: a #GtkScrolledWindow object.
  **/
diff --git a/lib/bluetooth-chooser.h b/lib/bluetooth-chooser.h
index 82bf9df..2f9cafc 100644
--- a/lib/bluetooth-chooser.h
+++ b/lib/bluetooth-chooser.h
@@ -72,6 +72,8 @@ BluetoothType bluetooth_chooser_get_selected_device_type (BluetoothChooser *self
 gboolean bluetooth_chooser_get_selected_device_is_connected (BluetoothChooser *self);
 void bluetooth_chooser_dump_selected_device (BluetoothChooser *self);
 
+GtkWidget *bluetooth_chooser_get_scrolled_window (BluetoothChooser *self);
+
 void bluetooth_chooser_start_discovery (BluetoothChooser *self);
 void bluetooth_chooser_stop_discovery (BluetoothChooser *self);
 



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