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

« back to all changes in this revision

Viewing changes to src/hanoi-activity/hanoi.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:
211
211
{
212
212
  if (gcomprisBoard)
213
213
    {
214
 
      if(g_strcasecmp(gcomprisBoard->type, "hanoi")==0)
 
214
      if(g_ascii_strcasecmp(gcomprisBoard->type, "hanoi")==0)
215
215
        {
216
216
          /* Set the plugin entry */
217
217
          gcomprisBoard->plugin=&menu_bp;
544
544
              if(i != number_of_item_x+1)
545
545
                {
546
546
                  g_signal_connect(item, "button_press_event",
547
 
                                   (GtkSignalFunc)gc_drag_event,
 
547
                                   (GCallback)gc_drag_event,
548
548
                                   position[i][j]);
549
549
                  g_signal_connect(item, "button_release_event",
550
 
                                   (GtkSignalFunc)gc_drag_event,
 
550
                                   (GCallback)gc_drag_event,
551
551
                                   position[i][j]);
552
552
 
553
553
                  g_signal_connect(item, "enter_notify_event",
554
 
                                   (GtkSignalFunc) item_event,
 
554
                                   (GCallback) item_event,
555
555
                                   position[i][j]);
556
556
                  g_signal_connect(item, "leave_notify_event",
557
 
                                   (GtkSignalFunc) item_event,
 
557
                                   (GCallback) item_event,
558
558
                                   position[i][j]);
559
559
                }
560
560
            }