]> Dogcows Code - chaz/openbox/blobdiff - openbox/keyboard.c
remove a bunch of g_new()/g_free() by returning Rect const*'s from screen area functi...
[chaz/openbox] / openbox / keyboard.c
index 92945ab0a0d04dbebd6b95af4022ef0f8d9a2c94..9b74c2848a3a2046edaa9b7e212cc9339402fda7 100644 (file)
@@ -79,7 +79,7 @@ static void set_curpos(KeyBindingTree *newpos)
     if (curpos != NULL) {
         gchar *text = NULL;
         GList *it;
-        Rect *a;
+        Rect const *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);
     }
This page took 0.020657 seconds and 4 git commands to generate.