summaryrefslogtreecommitdiff
path: root/cpufreq/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-09-05 16:25:26 +0300
committermonsta <[email protected]>2017-09-05 16:25:26 +0300
commit14a072cd5c936ae75e5df1c2dc25610716fb41e7 (patch)
tree0e6ffd6bbd912d565317bfff35c57ce4086a6961 /cpufreq/src
parent1def2c13cc2737ebcc082a8a5f469bbde9489fdb (diff)
downloadmate-applets-14a072cd5c936ae75e5df1c2dc25610716fb41e7.tar.bz2
mate-applets-14a072cd5c936ae75e5df1c2dc25610716fb41e7.tar.xz
cpufreq: fix random invisibility of the applet
Diffstat (limited to 'cpufreq/src')
-rw-r--r--cpufreq/src/cpufreq-applet.c4
1 files changed, 2 insertions, 2 deletions
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