[gnome-bluetooth] Handle combo box text api going away
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] Handle combo box text api going away
- Date: Thu, 21 Oct 2010 14:05:15 +0000 (UTC)
commit 1936b9028b56d7d48dffc0e5f1a0c03bd45e75fe
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Oct 21 15:04:17 2010 +0100
Handle combo box text api going away
https://bugzilla.gnome.org/show_bug.cgi?id=632646
lib/bluetooth-filter-widget.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/bluetooth-filter-widget.c b/lib/bluetooth-filter-widget.c
index e61beab..24b6698 100644
--- a/lib/bluetooth-filter-widget.c
+++ b/lib/bluetooth-filter-widget.c
@@ -249,7 +249,7 @@ bluetooth_filter_widget_init(BluetoothFilterWidget *self)
gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
priv->device_category_label = label;
- priv->device_category = gtk_combo_box_new_text ();
+ priv->device_category = gtk_combo_box_text_new ();
gtk_widget_set_no_show_all (priv->device_category, TRUE);
gtk_widget_show (priv->device_category);
gtk_table_attach (GTK_TABLE (table), priv->device_category, 1, 2, 1, 2,
@@ -257,8 +257,8 @@ bluetooth_filter_widget_init(BluetoothFilterWidget *self)
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
gtk_widget_set_tooltip_text (priv->device_category, _("Select the device category to filter"));
for (i = 0; i < BLUETOOTH_CATEGORY_NUM_CATEGORIES; i++) {
- gtk_combo_box_append_text (GTK_COMBO_BOX (priv->device_category),
- _(bluetooth_device_category_to_string (i)));
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (priv->device_category),
+ _(bluetooth_device_category_to_string (i)));
}
g_signal_connect (G_OBJECT (priv->device_category), "changed",
G_CALLBACK (filter_category_changed_cb), self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]