From f74b2b9dc7b3ba413dd729d3ca4984ea597174f4 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 12 Feb 2014 13:02:25 +0100 Subject: notification_area: Some GTK improvements --- applets/notification_area/na-tray-child.c | 2 +- applets/notification_area/na-tray.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'applets') 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 -- cgit v1.2.1