gnome-games r8476 - trunk/libgames-support
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8476 - trunk/libgames-support
- Date: Tue, 6 Jan 2009 18:19:52 +0000 (UTC)
Author: chpe
Date: Tue Jan 6 18:19:51 2009
New Revision: 8476
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8476&view=rev
Log:
Calling games_card_set_size will emit the "changed" signal, so there's
no need to clear the cache twice.
Modified:
trunk/libgames-support/games-card-images.c
Modified: trunk/libgames-support/games-card-images.c
==============================================================================
--- trunk/libgames-support/games-card-images.c (original)
+++ trunk/libgames-support/games-card-images.c Tue Jan 6 18:19:51 2009
@@ -391,15 +391,8 @@
games_card_images_set_size (GamesCardImages * images,
gint width, gint height, gdouble proportion)
{
- gboolean size_changed;
-
- size_changed = games_card_theme_set_size (images->theme,
- width, height, proportion);
- if (size_changed) {
- games_card_images_clear_cache (images);
- }
-
- return size_changed;
+ return games_card_theme_set_size (images->theme,
+ width, height, proportion);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]