]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
more using g_slice_new() instead of g_new()
[chaz/openbox] / openbox / client.c
index 968a4585a978063318f34b0515c81eaeacb240e8..f8c3c457843b63027ce033dd36323c7212cca1d4 100644 (file)
@@ -702,7 +702,7 @@ void client_fake_unmanage(ObClient *self)
     /* this is all that got allocated to get the decorations */
 
     frame_free(self->frame);
-    g_free(self);
+    g_slice_free(ObClient, self);
 }
 
 static gboolean client_can_steal_focus(ObClient *self, Time steal_time,
@@ -722,7 +722,7 @@ static gboolean client_can_steal_focus(ObClient *self, Time steal_time,
 
     /* This is focus stealing prevention */
     ob_debug_type(OB_DEBUG_FOCUS,
-                  "Want to focus new window 0x%x at time %u "
+                  "Want to focus window 0x%x at time %u "
                   "launched at %u (last user interaction time %u)",
                   self->window, steal_time, launch_time,
                   event_last_user_time);
This page took 0.022507 seconds and 4 git commands to generate.