summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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