Wireshark-dev: Re: [Wireshark-dev] buildbot failure in Wireshark (development) on Visual-Studio
From: Anders Broman <a.broman@xxxxxxxxxxxx>
Date: Thu, 18 Aug 2011 06:00:43 +0200
Stephen Fisher skrev 2011-08-18 00:05:
:
decryption_mode_cb = gtk_combo_box_text_new(); (The GTK documentation says that the GtkComboBoxText functions were introduced in GTK 2.24, but that doesn't make sense since we compile with 2.22 on Windows right now...) So replacing this chunk of code in gtk/prefs_dlg.c: decryption_cm =

From old-gtk-compat.h:
:
#if !GTK_CHECK_VERSION (2, 24, 0)
#    define GTK_COMBO_BOX_TEXT(x) GTK_COMBO_BOX(x)
# define gtk_combo_box_text_get_active_text(x) gtk_combo_box_get_active_text(x)
#    define gtk_combo_box_text_new() gtk_combo_box_new_text()
:

Regards
Anders