projects
/
dana
/
obconf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b3452d
)
does this crash or is this better, mika?
author
Dana Jansens
<danakj@orodu.net>
Thu, 31 May 2007 15:51:45 +0000
(15:51 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 31 May 2007 15:51:45 +0000
(15:51 +0000)
src/preview.c
patch
|
blob
|
history
diff --git
a/src/preview.c
b/src/preview.c
index d4bc4f8405a7ce05624c3c13e61b7a931f56f22f..f2b7e006c1f3c8fe8e6149235402f8994670e346 100644
(file)
--- 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);