[Xfce4-commits] [panel-plugins/xfce4-netload-plugin] 11/27: Migrate to gtk_combo_box_text_append_text

noreply at xfce.org noreply at xfce.org
Sat May 14 15:54:01 CEST 2016


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-netload-plugin.

commit 880cfa14121386e8cf5503546280ad6ecce91b45
Author: Skunnyk <skunnyk at alteroot.org>
Date:   Tue May 3 18:25:30 2016 +0200

    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)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list