# HG changeset patch # User zas_ # Date 1209860197 0 # Node ID fd51eac09ead9ae716f541ab06135d0645e6bda6 # Parent 04d4bdf5a2d84e62b4081023f03dc583ebc2e081 Use GQ_EDITOR_GENERIC_SLOTS instead of hardcoded value. diff -r 04d4bdf5a2d8 -r fd51eac09ead src/layout_util.c --- a/src/layout_util.c Sat May 03 20:55:16 2008 +0000 +++ b/src/layout_util.c Sun May 04 00:16:37 2008 +0000 @@ -859,7 +859,7 @@ if (!lw->action_group) return; - for (i = 0; i < 10; i++) + for (i = 0; i < GQ_EDITOR_GENERIC_SLOTS; i++) { gchar *key; GtkAction *action;