[Xfce4-commits] <ristretto:master> Fix bug #8343, (do not use symbols from gtk+ > 2.20)

Stephan Arts noreply at xfce.org
Sat Jan 14 18:56:01 CET 2012


Updating branch refs/heads/master
         to 1afe420b865ef8f86f26090462e9217fe789089a (commit)
       from a2e8a9c9e22077c792197fda56709c24f013ab16 (commit)

commit 1afe420b865ef8f86f26090462e9217fe789089a
Author: Stephan Arts <stephan at xfce.org>
Date:   Sat Jan 14 18:53:39 2012 +0100

    Fix bug #8343, (do not use symbols from gtk+ > 2.20)

 src/preferences_dialog.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/preferences_dialog.c b/src/preferences_dialog.c
index e3087f3..8b16c00 100644
--- a/src/preferences_dialog.c
+++ b/src/preferences_dialog.c
@@ -360,23 +360,23 @@ rstto_preferences_dialog_init(RsttoPreferencesDialog *dialog)
             FALSE,
             0);
     dialog->priv->behaviour_tab.choose_desktop_combo_box =
-            gtk_combo_box_text_new();
+            gtk_combo_box_new_text();
     gtk_box_pack_start (
             GTK_BOX (dialog->priv->behaviour_tab.desktop_vbox),
             dialog->priv->behaviour_tab.choose_desktop_combo_box,
             FALSE,
             FALSE,
             0);
-    gtk_combo_box_text_insert_text(
-            GTK_COMBO_BOX_TEXT (dialog->priv->behaviour_tab.choose_desktop_combo_box),
+    gtk_combo_box_insert_text(
+            GTK_COMBO_BOX (dialog->priv->behaviour_tab.choose_desktop_combo_box),
             DESKTOP_TYPE_NONE,
             _("None"));
-    gtk_combo_box_text_insert_text (
-            GTK_COMBO_BOX_TEXT (dialog->priv->behaviour_tab.choose_desktop_combo_box),
+    gtk_combo_box_insert_text (
+            GTK_COMBO_BOX (dialog->priv->behaviour_tab.choose_desktop_combo_box),
             DESKTOP_TYPE_XFCE,
             _("Xfce"));
-    gtk_combo_box_text_insert_text (
-            GTK_COMBO_BOX_TEXT (dialog->priv->behaviour_tab.choose_desktop_combo_box),
+    gtk_combo_box_insert_text (
+            GTK_COMBO_BOX (dialog->priv->behaviour_tab.choose_desktop_combo_box),
             DESKTOP_TYPE_GNOME,
             _("GNOME"));
 


More information about the Xfce4-commits mailing list