From 95e5a1d9542e4062e446e4259c5b80df8565f8d2 Mon Sep 17 00:00:00 2001 From: Evan Huus Date: Tue, 25 Feb 2014 13:37:58 -0500 Subject: Use correct macro to really fix MacOSX buildbot Change-Id: Ibb7b13c0c9c5699642cda48522b34ace34c28b46 Reviewed-on: https://code.wireshark.org/review/377 Reviewed-by: Evan Huus --- ui/gtk/capture_file_dlg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ui/gtk/capture_file_dlg.c') diff --git a/ui/gtk/capture_file_dlg.c b/ui/gtk/capture_file_dlg.c index b936502d16..eaa17b4e22 100644 --- a/ui/gtk/capture_file_dlg.c +++ b/ui/gtk/capture_file_dlg.c @@ -553,12 +553,12 @@ gtk_open_file(GtkWidget *w, GString *file_name, gint *type, GString *display_fil gtk_widget_set_tooltip_text(format_type_co, "Format type of capture file"); gtk_box_pack_start(GTK_BOX(main_vb), format_type_co, FALSE, FALSE, 0); - gtk_combo_box_text_append_text((GtkComboBoxText *) format_type_co, (const gchar *) "Automatic"); + gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(format_type_co), (const gchar *) "Automatic"); for (i = 0; open_routines[i].name != NULL; i += 1) { - gtk_combo_box_text_append_text((GtkComboBoxText *) format_type_co, open_routines[i].name); + gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(format_type_co), open_routines[i].name); } - gtk_combo_box_set_active((GtkComboBox *) format_type_co, 0); + gtk_combo_box_set_active(GTK_COMBO_BOX(format_type_co), 0); gtk_widget_show(format_type_co); /* Filter row */ -- cgit v1.2.1