~ubuntu-branches/ubuntu/precise/gcompris/precise

« back to all changes in this revision

Viewing changes to src/fifteen-activity/fifteen.c

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-01-10 01:37:41 UTC
  • mto: This revision was merged to the branch mainline in revision 48.
  • Revision ID: package-import@ubuntu.com-20120110013741-q90ulmfrj910igm3
Tags: upstream-12.01
ImportĀ upstreamĀ versionĀ 12.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
{
145
145
  if (gcomprisBoard)
146
146
    {
147
 
      if(g_strcasecmp(gcomprisBoard->type, "fifteen")==0)
 
147
      if(g_ascii_strcasecmp(gcomprisBoard->type, "fifteen")==0)
148
148
        {
149
149
          /* Set the plugin entry */
150
150
          gcomprisBoard->plugin=&menu_bp;
210
210
                        -1*((gdk_pixbuf_get_width(pixmap)-(4*PIECE_SIZE))/2),
211
211
                        -1*((gdk_pixbuf_get_height(pixmap)-(4*PIECE_SIZE))/2)-2,
212
212
                        NULL);
 
213
#if GDK_PIXBUF_MAJOR <= 2 && GDK_PIXBUF_MINOR <= 24
213
214
  gdk_pixbuf_unref(pixmap);
 
215
#else
 
216
  g_object_unref(pixmap);
 
217
#endif
214
218
 
215
219
 
216
220
  board = g_new (GooCanvasItem *, 16);