summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trashapplet/src/trashapplet.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/trashapplet/src/trashapplet.c b/trashapplet/src/trashapplet.c
index 3d56d013..119f3111 100644
--- a/trashapplet/src/trashapplet.c
+++ b/trashapplet/src/trashapplet.c
@@ -166,6 +166,9 @@ trash_applet_size_allocate (GtkWidget *widget,
{
TrashApplet *applet = TRASH_APPLET (widget);
+ GTK_WIDGET_CLASS (trash_applet_parent_class)
+ ->size_allocate (widget, allocation);
+
switch (mate_panel_applet_get_orient (MATE_PANEL_APPLET (applet)))
{
case MATE_PANEL_APPLET_ORIENT_LEFT:
@@ -179,8 +182,6 @@ trash_applet_size_allocate (GtkWidget *widget,
break;
}
- GTK_WIDGET_CLASS (trash_applet_parent_class)
- ->size_allocate (widget, allocation);
}
static void