summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2017-10-26 16:02:01 -0400
committerraveit65 <[email protected]>2017-11-09 10:08:15 +0100
commitd0abc327883d8510679ebac9778d9579b11449e9 (patch)
treed889f730104222f6f5c77bc78f62e35223374bf9
parent99f9632cc6f08be9770e8f7dc3aae381ddc09e2d (diff)
downloadmate-applets-d0abc327883d8510679ebac9778d9579b11449e9.tar.bz2
mate-applets-d0abc327883d8510679ebac9778d9579b11449e9.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 9ba363fa..1b7e4b71 100644
--- a/cpufreq/src/cpufreq-applet.c
+++ b/cpufreq/src/cpufreq-applet.c
@@ -797,7 +797,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) {