changeset 18076:da183b86a3ef

Update for the new api.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 10 Jun 2007 15:41:14 +0000
parents 34e011c8ed2b
children 2141130ac557
files finch/libgnt/gntstyle.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntstyle.c	Sun Jun 10 15:39:51 2007 +0000
+++ b/finch/libgnt/gntstyle.c	Sun Jun 10 15:41:14 2007 +0000
@@ -137,8 +137,7 @@
 		if (!name)
 			return;
 
-		ws = g_object_new(GNT_TYPE_WS, NULL);
-		gnt_ws_set_name(ws, name);
+		ws = gnt_ws_new(name);
 		gnt_wm_add_workspace(wm, ws);
 		g_free(name);