[beast: 2/12] BEAST: avoid bst_param_set_proxy() for Aida::Parameter GxkParams



commit 54042990a450619adb3086897511c9faa1b3fb62
Author: Tim Janik <timj gnu org>
Date:   Tue Sep 22 18:35:37 2015 +0200

    BEAST: avoid bst_param_set_proxy() for Aida::Parameter GxkParams

 beast-gtk/bstparamview.cc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/beast-gtk/bstparamview.cc b/beast-gtk/bstparamview.cc
index b3983ce..aa16d87 100644
--- a/beast-gtk/bstparamview.cc
+++ b/beast-gtk/bstparamview.cc
@@ -127,7 +127,8 @@ bst_param_view_set_item (BstParamView *self,
       self->item = 0;
 
       for (slist = self->params; slist; slist = slist->next)
-       bst_param_set_proxy ((GxkParam*) slist->data, 0);
+       if (bst_param_is_proxy ((GxkParam*) slist->data))
+          bst_param_set_proxy ((GxkParam*) slist->data, 0);
     }
 
   self->item = item;


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