summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-02-12 13:02:25 +0100
committerStefano Karapetsas <[email protected]>2014-02-12 13:02:25 +0100
commitf74b2b9dc7b3ba413dd729d3ca4984ea597174f4 (patch)
treebe19027a17440c1fe4328a66aa2cfbbc417e8774
parenta47009814ce3418f5e861ba425e8fab2ac01f9da (diff)
downloadmate-panel-f74b2b9dc7b3ba413dd729d3ca4984ea597174f4.tar.bz2
mate-panel-f74b2b9dc7b3ba413dd729d3ca4984ea597174f4.tar.xz
notification_area: Some GTK improvements
-rw-r--r--applets/notification_area/na-tray-child.c2
-rw-r--r--applets/notification_area/na-tray.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/applets/notification_area/na-tray-child.c b/applets/notification_area/na-tray-child.c
index d214f587..84fddf64 100644
--- a/applets/notification_area/na-tray-child.c
+++ b/applets/notification_area/na-tray-child.c
@@ -215,7 +215,7 @@ na_tray_child_expose_event (GtkWidget *widget,
cairo_paint (cr);
#else
gdk_cairo_region (cr, event->region);
- cairo_fill (cr);
+ cairo_paint (cr);
cairo_destroy (cr);
#endif
}
diff --git a/applets/notification_area/na-tray.c b/applets/notification_area/na-tray.c
index a87c4ac8..83f502e1 100644
--- a/applets/notification_area/na-tray.c
+++ b/applets/notification_area/na-tray.c
@@ -794,9 +794,7 @@ 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