summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2017-10-26 16:02:01 -0400
committerraveit65 <[email protected]>2017-11-09 10:16:24 +0100
commit9ae17afeec08064ac5513c8e0a64b4c609b7bb13 (patch)
treef3f79b07ff12ca0813d5fac9ba6870cd6c9732aa
parent0bf4cac8a83a2d3b720182fce38586734204dbc7 (diff)
downloadmate-applets-9ae17afeec08064ac5513c8e0a64b4c609b7bb13.tar.bz2
mate-applets-9ae17afeec08064ac5513c8e0a64b4c609b7bb13.tar.xz
Cpufreq: fix a build warning
-rw-r--r--cpufreq/src/cpufreq-applet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c
index 1b5e6087..bd7166be 100644
--- a/cpufreq/src/cpufreq-applet.c
+++ b/cpufreq/src/cpufreq-applet.c
@@ -785,7 +785,7 @@ cpufreq_applet_update (CPUFreqApplet *applet, CPUFreqMonitor *monitor)
gtk_label_set_text (GTK_LABEL (applet->label), freq_label);
/*Hold the largest size set by any jumping text */
gtk_widget_get_preferred_size (GTK_WIDGET (applet->label),&req, NULL);
- gtk_widget_set_size_request (GTK_WIDGET (applet->label),req.width, NULL);
+ gtk_widget_set_size_request (GTK_WIDGET (applet->label),req.width, req.height);
}
if (applet->show_perc) {