Fix g_slice_new0 call
authorMikael Magnusson <mikachu@gmail.com>
Thu, 14 Oct 2010 13:58:03 +0000 (15:58 +0200)
committerMikael Magnusson <mikachu@gmail.com>
Thu, 14 Oct 2010 13:58:41 +0000 (15:58 +0200)
obrender/theme.c

index c29550b..3ab2fd4 100644 (file)
@@ -167,7 +167,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name,
     a_unfocused_pressed_tmp = RrAppearanceNew(inst, 1);
 
     /* initialize theme */
     a_unfocused_pressed_tmp = RrAppearanceNew(inst, 1);
 
     /* initialize theme */
-    theme = g_slice_new0(RrTheme, 1);
+    theme = g_slice_new0(RrTheme);
 
     theme->inst = inst;
     theme->name = g_strdup(name ? name : DEFAULT_THEME);
 
     theme->inst = inst;
     theme->name = g_strdup(name ? name : DEFAULT_THEME);