[gnome-bluetooth] Add private _get_treeview accessor to the BluetoothChooser



commit f7899ef3443ab1d7ad03c4b41d56e17c2a1afb1d
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Sep 28 16:43:25 2009 +0100

    Add private _get_treeview accessor to the BluetoothChooser

 lib/bluetooth-chooser-private.h |    1 +
 lib/bluetooth-chooser.c         |   14 ++++++++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/lib/bluetooth-chooser-private.h b/lib/bluetooth-chooser-private.h
index 95d09ee..ee619aa 100644
--- a/lib/bluetooth-chooser-private.h
+++ b/lib/bluetooth-chooser-private.h
@@ -10,6 +10,7 @@ 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);
 
 G_END_DECLS
 
diff --git a/lib/bluetooth-chooser.c b/lib/bluetooth-chooser.c
index 13e4304..f4a5856 100644
--- a/lib/bluetooth-chooser.c
+++ b/lib/bluetooth-chooser.c
@@ -368,6 +368,20 @@ bluetooth_chooser_get_device_column (BluetoothChooser *self)
 }
 
 /**
+ * bluetooth_chooser_get_treeview:
+ * @self: A BluetoothChooser widget.
+ *
+ * Return value: The #GtkTreeView pointer for the #BluetoothChooser.
+ **/
+GtkWidget *
+bluetooth_chooser_get_treeview (BluetoothChooser *self)
+{
+	BluetoothChooserPrivate *priv = BLUETOOTH_CHOOSER_GET_PRIVATE(self);
+
+	return priv->treeview;
+}
+
+/**
  * bluetooth_chooser_set_title:
  * @self: a BluetoothChooser widget.
  * @title: the widget header title.



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