[Xfce4-commits] r26171 - in xfce4-panel/trunk/plugins: iconbox windowlist

Nick Schermer nick at xfce.org
Sun Oct 21 15:31:15 CEST 2007


Author: nick
Date: 2007-10-21 13:31:15 +0000 (Sun, 21 Oct 2007)
New Revision: 26171

Modified:
   xfce4-panel/trunk/plugins/iconbox/iconbox.c
   xfce4-panel/trunk/plugins/windowlist/windowlist.c
Log:
* Fix functions calls when HAVE_WNCK_TWO_POINT_TWENTY is not defined.


Modified: xfce4-panel/trunk/plugins/iconbox/iconbox.c
===================================================================
--- xfce4-panel/trunk/plugins/iconbox/iconbox.c	2007-10-21 11:56:29 UTC (rev 26170)
+++ xfce4-panel/trunk/plugins/iconbox/iconbox.c	2007-10-21 13:31:15 UTC (rev 26171)
@@ -569,7 +569,11 @@
         iconbox_window_opened (ib->wnck_screen, w, ib);
     }
 
-    iconbox_active_window_changed (ib->wnck_screen, NULL, ib);
+    iconbox_active_window_changed (ib->wnck_screen,
+#ifdef HAVE_WNCK_TWO_POINT_TWENTY
+                                   NULL,
+#endif
+                                   ib);
 }
 
 /* cleanup */

Modified: xfce4-panel/trunk/plugins/windowlist/windowlist.c
===================================================================
--- xfce4-panel/trunk/plugins/windowlist/windowlist.c	2007-10-21 11:56:29 UTC (rev 26170)
+++ xfce4-panel/trunk/plugins/windowlist/windowlist.c	2007-10-21 13:31:15 UTC (rev 26171)
@@ -992,7 +992,11 @@
                 g_signal_connect (wl->screen, "active-window-changed",
                                   G_CALLBACK (windowlist_active_window_changed), wl);
 
-            windowlist_active_window_changed (wl->screen, NULL, wl);
+            windowlist_active_window_changed (wl->screen,
+#ifdef HAVE_WNCK_TWO_POINT_TWENTY
+                                              NULL,
+#endif
+                                              wl);
 
             break;
 



More information about the Xfce4-commits mailing list