Fix compilation warnings
This commit is contained in:
committed by
Simon Steinbeiß
parent
56afa354cf
commit
e25b5246b2
@@ -139,7 +139,7 @@ xtm_process_statusbar_set_property (GObject *object, guint property_id, const GV
|
||||
text = g_strdup_printf (_("CPU: %s%%"), float_value);
|
||||
gtk_label_set_text (GTK_LABEL (statusbar->label_cpu), text);
|
||||
gdk_rgba_parse (&color, "#ff6e00");
|
||||
gtk_widget_override_color (statusbar->label_cpu, GTK_STATE_NORMAL, &color);
|
||||
gtk_widget_override_color (statusbar->label_cpu, GTK_STATE_FLAG_NORMAL, &color);
|
||||
g_free (float_value);
|
||||
g_free (text);
|
||||
break;
|
||||
@@ -150,7 +150,7 @@ xtm_process_statusbar_set_property (GObject *object, guint property_id, const GV
|
||||
gtk_label_set_text (GTK_LABEL (statusbar->label_memory), text);
|
||||
gtk_widget_set_tooltip_text (statusbar->label_memory, text);
|
||||
gdk_rgba_parse (&color, "#c22b66");
|
||||
gtk_widget_override_color (statusbar->label_memory, GTK_STATE_NORMAL, &color);
|
||||
gtk_widget_override_color (statusbar->label_memory, GTK_STATE_FLAG_NORMAL, &color);
|
||||
g_free (text);
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user