Diff for /np2/x11/gtk2/dialog_calendar.c between versions 1.4 and 1.6

version 1.4, 2010/12/23 06:32:35 version 1.6, 2011/01/15 18:43:13
Line 1 Line 1
 /*      $Id$    */  
   
 /*  /*
  * Copyright (c) 2003 NONAKA Kimihiro   * Copyright (c) 2003 NONAKA Kimihiro
  * All rights reserved.   * All rights reserved.
Line 95  ok_button_clicked(GtkButton *b, gpointer Line 93  ok_button_clicked(GtkButton *b, gpointer
         BYTE val;          BYTE val;
         int i;          int i;
   
         UNUSED(b);  
   
         renewal = FALSE;          renewal = FALSE;
         if (np2cfg.calendar != calendar_kind) {          if (np2cfg.calendar != calendar_kind) {
                 renewal = TRUE;                  renewal = TRUE;
Line 134  static void Line 130  static void
 dialog_destroy(GtkWidget *w, GtkWidget **wp)  dialog_destroy(GtkWidget *w, GtkWidget **wp)
 {  {
   
         UNUSED(wp);  
   
         install_idle_process();          install_idle_process();
         gtk_widget_destroy(w);          gtk_widget_destroy(w);
 }  }
Line 165  static void Line 159  static void
 now_button_clicked(GtkButton *b, gpointer d)  now_button_clicked(GtkButton *b, gpointer d)
 {  {
   
         UNUSED(b);  
         UNUSED(d);  
   
         set_virtual_calendar(FALSE);          set_virtual_calendar(FALSE);
 }  }
   
Line 177  calendar_radiobutton_clicked(GtkButton * Line 168  calendar_radiobutton_clicked(GtkButton *
         gint virtual = (gint)d;          gint virtual = (gint)d;
         int i;          int i;
   
         UNUSED(b);  
   
         calendar_kind = virtual ? 0 : 1;          calendar_kind = virtual ? 0 : 1;
   
         for (i = 0; i < NELEMENTS(vircal); i++) {          for (i = 0; i < NELEMENTS(vircal); i++) {

Removed from v.1.4  
changed lines
  Added in v.1.6


RetroPC.NET-CVS <cvs@retropc.net>