summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-03-16 18:04:22 +0300
committerraveit65 <[email protected]>2016-03-17 11:27:43 +0100
commit74f9b0c082b6b6cba55b44f424820a99c8e4fde6 (patch)
treec13b1fc9110640875bf060aeb1c18fc3aaafba42
parent04604abdb754066c1cba0357a3b449516107d953 (diff)
downloadcaja-74f9b0c082b6b6cba55b44f424820a99c8e4fde6.tar.bz2
caja-74f9b0c082b6b6cba55b44f424820a99c8e4fde6.tar.xz
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.
-rw-r--r--eel/eel-background.c8
1 files changed, 0 insertions, 8 deletions
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;