From: Dana Jansens Date: Thu, 31 May 2007 15:51:45 +0000 (+0000) Subject: does this crash or is this better, mika? X-Git-Tag: release-2.0.2~97 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=b0023ef2417854469bfe74b3df9657dd496e3a3b;p=dana%2Fobconf.git does this crash or is this better, mika? --- diff --git a/src/preview.c b/src/preview.c index d4bc4f8..f2b7e00 100644 --- a/src/preview.c +++ b/src/preview.c @@ -476,9 +476,11 @@ GdkPixbuf *preview_theme(const gchar *name, const gchar *titlelayout, gint w, h; - RrTheme *theme = RrThemeNew(rrinst, name, + RrTheme *theme = RrThemeNew(rrinst, name, FALSE, active_window_font, inactive_window_font, menu_title_font, menu_item_font, osd_font); + if (!theme) + return NULL; menu = preview_menu(theme);