summaryrefslogtreecommitdiff
path: root/cpufreq
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-09-05 16:25:26 +0300
committermonsta <[email protected]>2017-09-06 12:08:01 +0300
commit6736bfd27523d69171045e35592111c38c109006 (patch)
tree22070ee659b86eba36f1bd5ef5f4a3a524193329 /cpufreq
parentbcae77484b45bdc6dc1bc5f9d98595264a1785d1 (diff)
downloadmate-applets-6736bfd27523d69171045e35592111c38c109006.tar.bz2
mate-applets-6736bfd27523d69171045e35592111c38c109006.tar.xz
cpufreq: fix random invisibility of the applet
Diffstat (limited to 'cpufreq')
-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 cff868f6..407d78e4 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