more crash fix

This commit is contained in:
Dana Jansens 2007-05-09 00:21:52 +00:00
parent f0fdba8ad3
commit 7869b81d46

View file

@ -187,13 +187,13 @@ static void layer_menu_execute(ObMenuEntry *e, ObMenuFrame *f,
switch (e->id) { switch (e->id) {
case LAYER_TOP: case LAYER_TOP:
client_set_layer(f->client, 1); client_set_layer(c, 1);
break; break;
case LAYER_NORMAL: case LAYER_NORMAL:
client_set_layer(f->client, 0); client_set_layer(c, 0);
break; break;
case LAYER_BOTTOM: case LAYER_BOTTOM:
client_set_layer(f->client, -1); client_set_layer(c, -1);
break; break;
default: default:
g_assert_not_reached(); g_assert_not_reached();