From 14a072cd5c936ae75e5df1c2dc25610716fb41e7 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 5 Sep 2017 16:25:26 +0300 Subject: cpufreq: fix random invisibility of the applet --- cpufreq/src/cpufreq-applet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpufreq/src/cpufreq-applet.c') diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c index 2021a365..c401d2d0 100644 --- a/cpufreq/src/cpufreq-applet.c +++ b/cpufreq/src/cpufreq-applet.c @@ -269,8 +269,6 @@ cpufreq_applet_size_allocate (GtkWidget *widget, GtkAllocation *allocation) applet = CPUFREQ_APPLET (widget); - GTK_WIDGET_CLASS (cpufreq_applet_parent_class)->size_allocate (widget, allocation); - switch (applet->orient) { case MATE_PANEL_APPLET_ORIENT_LEFT: case MATE_PANEL_APPLET_ORIENT_RIGHT: @@ -286,6 +284,8 @@ cpufreq_applet_size_allocate (GtkWidget *widget, GtkAllocation *allocation) applet->size = size; cpufreq_applet_refresh (applet); } + + GTK_WIDGET_CLASS (cpufreq_applet_parent_class)->size_allocate (widget, allocation); } static gint -- cgit v1.2.1