From: Mikael Magnusson Date: Thu, 14 Oct 2010 13:58:03 +0000 (+0200) Subject: Fix g_slice_new0 call X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=da5441ecec51be3564c31275d193a2a18f157714;p=chaz%2Fopenbox Fix g_slice_new0 call --- diff --git a/obrender/theme.c b/obrender/theme.c index c29550b8..3ab2fd4c 100644 --- a/obrender/theme.c +++ b/obrender/theme.c @@ -167,7 +167,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name, 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);