Diff for /np2/x11/gtk2/dialog_config.c between versions 1.8 and 1.9

version 1.8, 2010/12/23 06:32:35 version 1.9, 2011/01/15 16:01:52
Line 92  ok_button_clicked(GtkButton *b, gpointer Line 92  ok_button_clicked(GtkButton *b, gpointer
         UINT renewal = 0;          UINT renewal = 0;
         int i;          int i;
   
         UNUSED(b);  
   
         if (strcmp(base, "1.9968MHz") == 0) {          if (strcmp(base, "1.9968MHz") == 0) {
                 if (np2cfg.baseclock != PCBASECLOCK20) {                  if (np2cfg.baseclock != PCBASECLOCK20) {
                         np2cfg.baseclock = PCBASECLOCK20;                          np2cfg.baseclock = PCBASECLOCK20;
Line 182  static void Line 180  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 192  static void Line 188  static void
 arch_radiobutton_clicked(GtkButton *b, gpointer d)  arch_radiobutton_clicked(GtkButton *b, gpointer d)
 {  {
   
         UNUSED(b);  
   
         arch = (char *)d;          arch = (char *)d;
 }  }
   
Line 201  static void Line 195  static void
 rate_radiobutton_clicked(GtkButton *b, gpointer d)  rate_radiobutton_clicked(GtkButton *b, gpointer d)
 {  {
   
         UNUSED(b);  
   
         rate = GPOINTER_TO_INT(d);          rate = GPOINTER_TO_INT(d);
 }  }
   
Line 215  clock_changed(GtkEditable *e, gpointer d Line 207  clock_changed(GtkEditable *e, gpointer d
         gchar buf[80];          gchar buf[80];
         gint clock;          gint clock;
   
         UNUSED(e);  
   
         if (base[0] == '1') {          if (base[0] == '1') {
                 clock = PCBASECLOCK20 * mult;                  clock = PCBASECLOCK20 * mult;
         } else {          } else {

Removed from v.1.8  
changed lines
  Added in v.1.9


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