X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fkeyboard.c;h=ad4e4f3c1d338ef0fe17bf7692c71e6cc3cd7ce3;hb=bb97a20777e74d681e5f1912f5b243f19253600b;hp=92945ab0a0d04dbebd6b95af4022ef0f8d9a2c94;hpb=43d62990e407f409f76f60a405c529f9b15d33f6;p=chaz%2Fopenbox diff --git a/openbox/keyboard.c b/openbox/keyboard.c index 92945ab0..ad4e4f3c 100644 --- a/openbox/keyboard.c +++ b/openbox/keyboard.c @@ -79,7 +79,7 @@ static void set_curpos(KeyBindingTree *newpos) if (curpos != NULL) { gchar *text = NULL; GList *it; - Rect *a; + const Rect *a; for (it = curpos->keylist; it; it = g_list_next(it)) { gchar *oldtext = text; @@ -95,7 +95,6 @@ static void set_curpos(KeyBindingTree *newpos) /* 1 second delay for the popup to show */ popup_delay_show(popup, G_USEC_PER_SEC, text); g_free(text); - g_free(a); } else { popup_hide(popup); }