[gnome-control-center/wip/exalm/appearance-warning] background-chooser: Remove a leftover binding




commit 755cbda5037e06ce94bcab6d53ea4952b04c76d1
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Feb 9 12:02:33 2022 +0500

    background-chooser: Remove a leftover binding
    
    GtkWidget:text-direction doesn't exist. That's why we connect to the
    ::direction-changed signal instead, and this property binding was
    just a leftover from c5792cfb00cd1e2a4eb7f77846277a75b97a111e.

 panels/background/cc-background-chooser.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/panels/background/cc-background-chooser.c b/panels/background/cc-background-chooser.c
index 43b093877..62ea48dcc 100644
--- a/panels/background/cc-background-chooser.c
+++ b/panels/background/cc-background-chooser.c
@@ -119,8 +119,6 @@ create_widget_func (gpointer model_item,
 
   g_object_bind_property (picture, "scale-factor",
                           paintable, "scale-factor", G_BINDING_SYNC_CREATE);
-  g_object_bind_property (picture, "text-direction",
-                          paintable, "text-direction", G_BINDING_SYNC_CREATE);
   g_signal_connect_object (picture, "direction-changed",
                            G_CALLBACK (direction_changed_cb), paintable, 0);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]