]> Dogcows Code - chaz/openbox/commitdiff
woops playing with the hash table left it in a half changed state here
authorDana Jansens <danakj@orodu.net>
Sun, 23 Mar 2003 21:15:49 +0000 (21:15 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 23 Mar 2003 21:15:49 +0000 (21:15 +0000)
engines/openbox/openbox.c

index 8979e8b4f19b075a756545057819e0da0d14b88c..f0f6eede72873a8392a97a18e466d8dd2388b61c 100644 (file)
@@ -592,18 +592,18 @@ void frame_release_client(ObFrame *self, Client *client)
     }
 
     /* remove all the windows for the frame from the client_map */
-    g_hash_table_remove(client_map, &self->frame.window);
-    g_hash_table_remove(client_map, &self->frame.plate);
-    g_hash_table_remove(client_map, &self->title);
-    g_hash_table_remove(client_map, &self->label);
-    g_hash_table_remove(client_map, &self->max);
-    g_hash_table_remove(client_map, &self->close);
-    g_hash_table_remove(client_map, &self->desk);
-    g_hash_table_remove(client_map, &self->icon);
-    g_hash_table_remove(client_map, &self->iconify);
-    g_hash_table_remove(client_map, &self->handle);
-    g_hash_table_remove(client_map, &self->lgrip);
-    g_hash_table_remove(client_map, &self->rgrip);
+    g_hash_table_remove(client_map, (gpointer)self->frame.window);
+    g_hash_table_remove(client_map, (gpointer)self->frame.plate);
+    g_hash_table_remove(client_map, (gpointer)self->title);
+    g_hash_table_remove(client_map, (gpointer)self->label);
+    g_hash_table_remove(client_map, (gpointer)self->max);
+    g_hash_table_remove(client_map, (gpointer)self->close);
+    g_hash_table_remove(client_map, (gpointer)self->desk);
+    g_hash_table_remove(client_map, (gpointer)self->icon);
+    g_hash_table_remove(client_map, (gpointer)self->iconify);
+    g_hash_table_remove(client_map, (gpointer)self->handle);
+    g_hash_table_remove(client_map, (gpointer)self->lgrip);
+    g_hash_table_remove(client_map, (gpointer)self->rgrip);
 
     frame_free(self);
 }
This page took 0.029397 seconds and 4 git commands to generate.