summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@beryl-project.org>2007-05-03 13:40:10 +0200
committerDennis Kasprzyk <onestone@beryl-project.org>2007-05-03 13:40:10 +0200
commit576a85bcc23cc520ab8823ce35140fba09d9e34f (patch)
treee6d75660457ad4f66142439a9aecbe6b7d433029
parent9161f49135b42b4d059ff67595754020c5e0795d (diff)
downloadccs-settings-576a85bcc23cc520ab8823ce35140fba09d9e34f.tar.gz
ccs-settings-576a85bcc23cc520ab8823ce35140fba09d9e34f.tar.bz2
Fixed action value setting
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 2e87664..4e61ab4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -309,6 +309,8 @@ void cb_option(GtkWidget * w, CCSSetting * o)
case TypeAction:
{
CCSSettingActionValue action;
+ if (!ccsGetAction(o, &action))
+ break;
if (o->info.forAction.button)
{
gint mods=0;