summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-18 17:53:28 +0100
committerStefano Karapetsas <[email protected]>2014-01-18 17:53:28 +0100
commit4fe80fa31fa30c8d33273afbdadb80e267bc4aae (patch)
treeb7eece7574e0cec8781d352861655c6edc9a4cb6 /applets
parente49389829aa0ba789ebd4860c1ac2db8d38ccd4e (diff)
downloadmate-panel-4fe80fa31fa30c8d33273afbdadb80e267bc4aae.tar.bz2
mate-panel-4fe80fa31fa30c8d33273afbdadb80e267bc4aae.tar.xz
notification_area: Fix visibility with GTK3
Diffstat (limited to 'applets')
-rw-r--r--applets/notification_area/na-tray.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/applets/notification_area/na-tray.c b/applets/notification_area/na-tray.c
index e6359581..a87c4ac8 100644
--- a/applets/notification_area/na-tray.c
+++ b/applets/notification_area/na-tray.c
@@ -794,6 +794,9 @@ na_tray_size_allocate (GtkWidget *widget,
GtkAllocation *allocation)
{
gtk_widget_size_allocate (gtk_bin_get_child (GTK_BIN (widget)), allocation);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_widget_set_allocation (widget, allocation);
+#endif
}
static void