2003-10-07 Dom Lachowicz <cinamod@hotmail.com>\r
\r
* Added new mingw based build system, tidied up other missing bits\r
+ * src/xp_theme.c: Tidied up some return cases\r
\r
2003-10-07 Raymond Penners <raymond@dotsphinx.com>\r
\r
static EnableThemeDialogTextureFunc enable_theme_dialog_texture_func = NULL;
static IsThemeActiveFunc is_theme_active_func = NULL;
-static gboolean was_theming_active = FALSE;
+static gboolean was_theming_active = FALSE;
static void
xp_theme_close_open_handles (void)
}
}
-
void
xp_theme_reset (void)
{
gboolean
xp_theme_is_drawable (XpThemeElement element)
{
- gboolean ret = FALSE;
-
if (is_theme_active_func)
{
gboolean active = (*is_theme_active_func) ();
if (active)
{
- ret = (xp_theme_get_handle_by_element (element) != NULL);
+ return (xp_theme_get_handle_by_element (element) != NULL);
}
}
- return ret;
+
+ return FALSE;
}
gboolean