diff options
author | Anders Broman <anders.broman@ericsson.com> | 2011-07-24 16:50:55 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2011-07-24 16:50:55 +0000 |
commit | 1c09e4a6945499a9038f58915c0a796bb71185c5 (patch) | |
tree | e9c240790e51f78fac07bd8b79ed3aa01c657b44 /gtk/follow_stream.c | |
parent | f34ec598897cd071ed9d1d9952a8cb1edf6ff669 (diff) |
Replace deprecated functions.
Udate comments in CheckAPIs
svn path=/trunk/; revision=38185
Diffstat (limited to 'gtk/follow_stream.c')
-rw-r--r-- | gtk/follow_stream.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/follow_stream.c b/gtk/follow_stream.c index 860aa0b1c9..8becb7d743 100644 --- a/gtk/follow_stream.c +++ b/gtk/follow_stream.c @@ -56,6 +56,7 @@ #include <gtk/gui_utils.h> #include <gtk/help_dlg.h> #include "gtk/main.h" +#include "gtk/old-gtk-compat.h" #ifdef _WIN32 #include "../tempfile.h" @@ -765,16 +766,16 @@ follow_stream(gchar *title, follow_info_t *follow_info, direction_hbox = gtk_hbox_new(FALSE, 1); gtk_box_pack_start(GTK_BOX(stream_vb), direction_hbox, FALSE, FALSE, 0); - stream_cmb = gtk_combo_box_new_text(); + stream_cmb = gtk_combo_box_text_new(); - gtk_combo_box_append_text(GTK_COMBO_BOX(stream_cmb), + gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT(stream_cmb), both_directions_string); follow_info->show_stream = BOTH_HOSTS; - gtk_combo_box_append_text(GTK_COMBO_BOX(stream_cmb), + gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT(stream_cmb), server_to_client_string); - gtk_combo_box_append_text(GTK_COMBO_BOX(stream_cmb), + gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT(stream_cmb), client_to_server_string); gtk_combo_box_set_active(GTK_COMBO_BOX(stream_cmb), 0); /* Do this before signal_connect */ |