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

version 1.4, 2010/12/23 06:32:35 version 1.5, 2011/01/15 16:01:52
Line 95  ok_button_clicked(GtkButton *b, gpointer Line 95  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 132  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 161  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 170  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.5


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