gnome-games r8510 - trunk/libgames-support
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8510 - trunk/libgames-support
- Date: Tue, 6 Jan 2009 18:20:51 +0000 (UTC)
Author: chpe
Date: Tue Jan 6 18:20:51 2009
New Revision: 8510
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8510&view=rev
Log:
Fix getting the theme filename from the pref name (it was not stripping
the type: prefix in all cases).
Modified:
trunk/libgames-support/games-card-themes.c
Modified: trunk/libgames-support/games-card-themes.c
==============================================================================
--- trunk/libgames-support/games-card-themes.c (original)
+++ trunk/libgames-support/games-card-themes.c Tue Jan 6 18:20:51 2009
@@ -178,12 +178,11 @@
g_free (base_name);
return retval;
- } else
-#endif /* HAVE_GNOME && ENABLE_CARD_THEME_FORMAT_SVG */
- {
- return g_strdup (filename);
}
+#endif /* HAVE_GNOME && ENABLE_CARD_THEME_FORMAT_SVG */
}
+
+ return g_strdup (filename);
}
return g_strdup (theme_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]