gnome-games r8132 - trunk/aisleriot
- From: jclinton svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8132 - trunk/aisleriot
- Date: Tue, 21 Oct 2008 19:43:31 +0000 (UTC)
Author: jclinton
Date: Tue Oct 21 19:43:31 2008
New Revision: 8132
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8132&view=rev
Log:
Small coding style fix up
Modified:
trunk/aisleriot/card-cache.c
Modified: trunk/aisleriot/card-cache.c
==============================================================================
--- trunk/aisleriot/card-cache.c (original)
+++ trunk/aisleriot/card-cache.c Tue Oct 21 19:43:31 2008
@@ -224,18 +224,17 @@
if (highlighted)
index *= 2;
- if (priv->cards[index] == NULL)
- {
- ClutterActor *tex = g_object_ref_sink (clutter_texture_new ());
- GdkPixbuf *pixbuf
- = games_card_images_get_card_pixbuf_by_id (priv->card_images,
- card_id,
- highlighted);
+ if (priv->cards[index] == NULL) {
+ ClutterActor *tex = g_object_ref_sink (clutter_texture_new ());
+ GdkPixbuf *pixbuf
+ = games_card_images_get_card_pixbuf_by_id (priv->card_images,
+ card_id,
+ highlighted);
- gtk_clutter_texture_set_from_pixbuf (CLUTTER_TEXTURE (tex), pixbuf);
+ gtk_clutter_texture_set_from_pixbuf (CLUTTER_TEXTURE (tex), pixbuf);
- priv->cards[index] = tex;
- }
+ priv->cards[index] = tex;
+ }
return priv->cards[index];
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]