diff options
-rw-r--r-- | cpufreq/src/cpufreq-applet.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c index 4600caec..cff868f6 100644 --- a/cpufreq/src/cpufreq-applet.c +++ b/cpufreq/src/cpufreq-applet.c @@ -394,9 +394,7 @@ cpufreq_applet_get_preferred_width (GtkWidget *widget, gint *minimum_width, gint gint icon_width; gtk_widget_get_preferred_width (applet->icon, &icon_width, NULL); - width = gtk_orientable_get_orientation (GTK_ORIENTABLE (applet->box)) == GTK_ORIENTATION_HORIZONTAL ? - labels_width + icon_width + 2 : - MAX (labels_width, icon_width + 2); + width = (labels_width + icon_width + 2); } else { width = labels_width; } |