From 89973129ca9fae822573242a9815f1f65ac0ded9 Mon Sep 17 00:00:00 2001 From: Sam Tygier Date: Thu, 29 Dec 2011 15:07:48 +0000 Subject: fix missing switch of GTK_COMBO_BOX to GTK_COMBO_BOX_TEXT --- src/gpm-prefs-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gpm-prefs-core.c b/src/gpm-prefs-core.c index b484083..7304d1a 100644 --- a/src/gpm-prefs-core.c +++ b/src/gpm-prefs-core.c @@ -473,14 +473,14 @@ gpm_prefs_setup_time_combo (GpmPrefs *prefs, const gchar *widget_name, if (values[i] != 0) { text = gpm_get_timestring (values[i]); #if GTK_CHECK_VERSION (2, 24, 0) - gtk_combo_box_text_append_text(GTK_COMBO_BOX (widget), text); + gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT (widget), text); #else gtk_combo_box_append_text (GTK_COMBO_BOX (widget), text); #endif g_free (text); } else { #if GTK_CHECK_VERSION (2, 24, 0) - gtk_combo_box_text_append_text(GTK_COMBO_BOX (widget), _("Never")); + gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT (widget), _("Never")); #else gtk_combo_box_append_text (GTK_COMBO_BOX (widget), _("Never")); #endif -- cgit v1.2.1