summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-03-16 18:04:22 +0300
committermonsta <[email protected]>2016-03-17 11:37:38 +0300
commitc74212b4630767b3b11b41cb26a8df20090096f4 (patch)
treed5ca3fe2d6e6d9d08b76a5193de46e2039425d2f
parent828aea9083e19cec1a712c349285553197bc1c6f (diff)
downloadcaja-c74212b4630767b3b11b41cb26a8df20090096f4.tar.bz2
caja-c74212b4630767b3b11b41cb26a8df20090096f4.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;