diff options
author | Evan Huus <eapache@gmail.com> | 2014-02-25 13:37:58 -0500 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-02-25 18:39:00 +0000 |
commit | 95e5a1d9542e4062e446e4259c5b80df8565f8d2 (patch) | |
tree | 9ef3c7f624ccab90f2bd30e00e2a089e5e4418dc /ui/gtk/capture_file_dlg.c | |
parent | 8ce395d92a5547778225cc2ea8f1b0693a7a4661 (diff) | |
download | wireshark-95e5a1d9542e4062e446e4259c5b80df8565f8d2.tar.gz |
Use correct macro to really fix MacOSX buildbot
Change-Id: Ibb7b13c0c9c5699642cda48522b34ace34c28b46
Reviewed-on: https://code.wireshark.org/review/377
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'ui/gtk/capture_file_dlg.c')
-rw-r--r-- | ui/gtk/capture_file_dlg.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |