Make ag_display_theme_to_css() handle the NULL theme
这个提交包含在:
父节点
c36ef58946
当前提交
4fd2215360
@ -54,6 +54,11 @@ ag_display_theme_to_css(AgDisplayTheme *theme)
|
||||
gchar *ret;
|
||||
GString *css = NULL;
|
||||
|
||||
// Null themes are possible, deal with it!
|
||||
if (theme == NULL) {
|
||||
return g_strdup("");
|
||||
}
|
||||
|
||||
if (theme->planets_include) {
|
||||
css = g_string_new(planet_none);
|
||||
} else {
|
||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户