[dia] [warningectomy] add GTK_COMBO_BOX_TEXT() cast



commit 9cd5f4b40274caaadbc68eba351da41ce8a49bec
Author: Hans Breuer <hans breuer org>
Date:   Sat Apr 2 17:59:35 2011 +0200

    [warningectomy] add GTK_COMBO_BOX_TEXT() cast

 app/preferences.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/preferences.c b/app/preferences.c
index 2f09c30..eff66fb 100644
--- a/app/preferences.c
+++ b/app/preferences.c
@@ -539,7 +539,7 @@ prefs_get_property_widget(DiaPrefData *data)
          names != NULL;
 	 names = g_list_next(names)) {
 #if GTK_CHECK_VERSION(2,24,0)
-      gtk_combo_box_text_append_text (GTK_COMBO_BOX (widget), (gchar *)names->data);
+      gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (widget), (gchar *)names->data);
 #else
       gtk_combo_box_append_text (GTK_COMBO_BOX (widget), (gchar *)names->data);
 #endif



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