diff options
author | Sam Tygier <[email protected]> | 2011-12-29 15:07:48 +0000 |
---|---|---|
committer | Sam Tygier <[email protected]> | 2011-12-29 15:07:48 +0000 |
commit | 89973129ca9fae822573242a9815f1f65ac0ded9 (patch) | |
tree | 1dd889c7786de556ab82d390743b19bbbf7a129f | |
parent | fcb6eb4aed20575c12818e796dfd3506045373ce (diff) | |
download | mate-power-manager-89973129ca9fae822573242a9815f1f65ac0ded9.tar.bz2 mate-power-manager-89973129ca9fae822573242a9815f1f65ac0ded9.tar.xz |
fix missing switch of GTK_COMBO_BOX to GTK_COMBO_BOX_TEXT
-rw-r--r-- | src/gpm-prefs-core.c | 4 |
1 files 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 |