[gnome-panel/gtk3] Revert "wnck: Fix arguments for wnck_pager_new and wnck_tasklist_new"



commit 0d882c64ee081aa4427d0359d560b824b40e9d92
Author: Germán Póo-Caamaño <gpoo gnome org>
Date:   Mon Jan 31 00:38:38 2011 -0800

    Revert "wnck: Fix arguments for wnck_pager_new and wnck_tasklist_new"
    
    This reverts commit f3559e74f98d3935a732f454fedee2c4ad25dc9f.
    
    Signed-off-by: Germán Póo-Caamaño <gpoo gnome org>

 applets/wncklet/window-list.c        |    2 +-
 applets/wncklet/workspace-switcher.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index 880f043..77e0b07 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -505,7 +505,7 @@ window_list_applet_fill (PanelApplet *applet)
 		break;
 	}
 
-	tasklist->tasklist = wnck_tasklist_new (NULL);
+	tasklist->tasklist = wnck_tasklist_new ();
 
         wnck_tasklist_set_icon_loader (WNCK_TASKLIST (tasklist->tasklist),
                                        icon_loader_func,
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index 0fc0975..c3787c3 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -517,7 +517,7 @@ workspace_switcher_applet_fill (PanelApplet *applet)
 		break;
 	}
 
-	pager->pager = wnck_pager_new (NULL);
+	pager->pager = wnck_pager_new ();
 	pager->screen = NULL;
 	pager->wm = PAGER_WM_UNKNOWN;
 	wnck_pager_set_shadow_type (WNCK_PAGER (pager->pager), GTK_SHADOW_IN);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]