summaryrefslogtreecommitdiff
path: root/cpufreq
diff options
context:
space:
mode:
Diffstat (limited to 'cpufreq')
-rw-r--r--cpufreq/src/cpufreq-applet.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c
index 10ed6aad..52ecad94 100644
--- a/cpufreq/src/cpufreq-applet.c
+++ b/cpufreq/src/cpufreq-applet.c
@@ -334,12 +334,7 @@ cpufreq_applet_get_max_label_width (CPUFreqApplet *applet)
label = gtk_label_new (freq_text);
#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_get_preferred_width (applet->label, &label_width, NULL);
-
-#if GTK_CHECK_VERSION (3, 19, 0)
- width = MAX (width, label_width)-2;
-#else
- width = MAX (width, label_width);
-#endif
+ width = MAX (width, label_width);
#endif
#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_size_request (label, &req);