From 880cfa14121386e8cf5503546280ad6ecce91b45 Mon Sep 17 00:00:00 2001 From: Skunnyk Date: Tue, 3 May 2016 18:25:30 +0200 Subject: [PATCH] Migrate to gtk_combo_box_text_append_text --- panel-plugin/netload.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/panel-plugin/netload.c b/panel-plugin/netload.c index 6c75e6e..666f429 100644 --- a/panel-plugin/netload.c +++ b/panel-plugin/netload.c @@ -1181,9 +1181,9 @@ static void monitor_create_options(XfcePanelPlugin *plugin, t_global_monitor *gl global->monitor->opt_present_data_combobox = gtk_combo_box_new_text(); gtk_label_set_mnemonic_widget(GTK_LABEL(global->monitor->opt_present_data_label), global->monitor->opt_present_data_combobox); - gtk_combo_box_append_text(GTK_COMBO_BOX(global->monitor->opt_present_data_combobox), _("Bars")); - gtk_combo_box_append_text(GTK_COMBO_BOX(global->monitor->opt_present_data_combobox), _("Values")); - gtk_combo_box_append_text(GTK_COMBO_BOX(global->monitor->opt_present_data_combobox), _("Bars and values")); + gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(global->monitor->opt_present_data_combobox), _("Bars")); + gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(global->monitor->opt_present_data_combobox), _("Values")); + gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(global->monitor->opt_present_data_combobox), _("Bars and values")); if(global->monitor->options.show_values) if(global->monitor->options.show_bars)