[Xfce4-commits] [apps/mousepad] 01/04: Revert "Prevent a weird cycle in GSettings use"

noreply at xfce.org noreply at xfce.org
Tue Aug 15 04:11:10 CEST 2017


This is an automated email from the git hooks/post-receive script.

m   b   r   u   s   h       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/mousepad.

commit bcfccef094eed30c35bee4fc4f85f2a1e2f98d2a
Author: Alistair Buxton <a.j.buxton at gmail.com>
Date:   Mon Mar 21 21:49:04 2016 +0000

    Revert "Prevent a weird cycle in GSettings use"
    
    This reverts commit f07cc75f2aa77d14f16b5506321ac6a2413706ba.
---
 mousepad/mousepad-view.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/mousepad/mousepad-view.c b/mousepad/mousepad-view.c
index 03f4609..bd0e37c 100644
--- a/mousepad/mousepad-view.c
+++ b/mousepad/mousepad-view.c
@@ -324,16 +324,10 @@ mousepad_view_init (MousepadView *view)
   BIND_ (SHOW_RIGHT_MARGIN,      "show-right-margin");
   BIND_ (SMART_HOME_END,         "smart-home-end");
   BIND_ (TAB_WIDTH,              "tab-width");
+  BIND_ (COLOR_SCHEME,           "color-scheme");
   BIND_ (WORD_WRAP,              "word-wrap");
   BIND_ (MATCH_BRACES,           "match-braces");
 
-  /* for color-scheme, use G_SETTINGS_BIND_GET_NO_CHANGES to stop
-   * a cycle that was causing DBus thrashing. See:
-   * https://bugzilla.xfce.org/show_bug.cgi?id=12134 */
-  MOUSEPAD_SETTING_BIND (COLOR_SCHEME, view, "color-scheme",
-                         G_SETTINGS_BIND_DEFAULT |
-                           G_SETTINGS_BIND_GET_NO_CHANGES);
-
   /* override with default font when the setting is enabled */
   MOUSEPAD_SETTING_CONNECT_OBJECT (USE_DEFAULT_FONT,
                                    G_CALLBACK (mousepad_view_use_default_font_setting_changed),

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list