From c74212b4630767b3b11b41cb26a8df20090096f4 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 16 Mar 2016 18:04:22 +0300 Subject: eel: never try to block background change signal that's what was causing random font color changes. the code in eel-background.c is a complete asynchronous mess, with queued callbacks sometimes being called in such order that it caused blocking the background change signal in the situations where it should never be blocked. --- eel/eel-background.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'eel/eel-background.c') diff --git a/eel/eel-background.c b/eel/eel-background.c index 94f9a299..9fdb333d 100644 --- a/eel/eel-background.c +++ b/eel/eel-background.c @@ -355,8 +355,6 @@ eel_background_ensure_realized (EelBackground *self) free_background_surface (self); - /* Calls mate_bg_set_color, which sets "ignore-pending-change" to false, - and queues emission of changed signal if it's still false */ set_image_properties (self); window = gtk_widget_get_window (self->details->widget); @@ -365,12 +363,6 @@ eel_background_ensure_realized (EelBackground *self) self->details->is_desktop); self->details->unset_root_surface = self->details->is_desktop; - /* We got the surface and everything, so we don't care about a change - that is pending (unless things actually change after this time) */ - g_object_set_data (G_OBJECT (self->details->bg), - "ignore-pending-change", - GINT_TO_POINTER (TRUE)); - self->details->bg_entire_width = width; self->details->bg_entire_height = height; -- cgit v1.2.1