Update for the new api. release-2.1.0

Sun, 10 Jun 2007 15:41:14 +0000

author
Sadrul Habib Chowdhury <sadrul@pidgin.im>
date
Sun, 10 Jun 2007 15:41:14 +0000
branch
release-2.1.0
changeset 18138
4bbda12891c1
parent 18137
a8c54ed05eee
child 18139
6f8ce11e928a

Update for the new api.

finch/libgnt/gntstyle.c file | annotate | diff | comparison | revisions
--- 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);
 

mercurial