[gimp] app: don't set "follow-state" on GimpCellRendererButton



commit 3f8d55fe797d41a528fdbb491f42e8d9c8322724
Author: Michael Natterer <mitch gimp org>
Date:   Tue Oct 4 01:21:52 2016 +0200

    app: don't set "follow-state" on GimpCellRendererButton
    
    The button's function doesn't change so it shouldn't look differently.

 app/widgets/gimpcellrendererbutton.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/app/widgets/gimpcellrendererbutton.c b/app/widgets/gimpcellrendererbutton.c
index f9589c0..93f52c9 100644
--- a/app/widgets/gimpcellrendererbutton.c
+++ b/app/widgets/gimpcellrendererbutton.c
@@ -87,11 +87,10 @@ static void
 gimp_cell_renderer_button_init (GimpCellRendererButton *cell_button)
 {
   g_object_set (cell_button,
-                "mode",         GTK_CELL_RENDERER_MODE_ACTIVATABLE,
-                "xpad",         2,
-                "ypad",         2,
-                "follow-state", TRUE,
-                "stock-size",   GTK_ICON_SIZE_BUTTON,
+                "mode",       GTK_CELL_RENDERER_MODE_ACTIVATABLE,
+                "xpad",       2,
+                "ypad",       2,
+                "stock-size", GTK_ICON_SIZE_BUTTON,
                 NULL);
 }
 


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