[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: x_dialog.c



  User: danmc   
  Date: 06/10/11 01:54:59

  Modified:    .        x_dialog.c
  Log:
  add some missing casts
  
  
  Revision  Changes    Path
  1.24      +5 -5      eda/geda/gaf/gattrib/src/x_dialog.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_dialog.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gattrib/src/x_dialog.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -b -r1.23 -r1.24
  --- x_dialog.c	16 Sep 2006 11:37:03 -0000	1.23
  +++ x_dialog.c	11 Oct 2006 05:54:59 -0000	1.24
  @@ -1,4 +1,4 @@
  -/* $Id: x_dialog.c,v 1.23 2006/09/16 11:37:03 sdb Exp $ */
  +/* $Id: x_dialog.c,v 1.24 2006/10/11 05:54:59 danmc Exp $ */
   
   /* gEDA - GPL Electronic Design Automation
    * gattrib -- gEDA component and net attribute manipulation using spreadsheet.
  @@ -751,11 +751,11 @@
     gtk_box_pack_start(GTK_BOX(action_area), buttonok, FALSE, FALSE, 0);
     gtk_signal_connect(GTK_OBJECT(buttonok), "clicked",
   		     GTK_SIGNAL_FUNC(x_dialog_exit_announcement_close_callback),
  -		     return_code );
  +		     (gpointer) return_code );
     gtk_widget_show(buttonok);
   
     /* set this to grab ability to override other windows */
  -  gtk_window_set_modal(exit_announcement_window, TRUE);
  +  gtk_window_set_modal (GTK_WINDOW (exit_announcement_window), TRUE);
   
    /* show window */
     if (!GTK_WIDGET_VISIBLE(exit_announcement_window)) {
  @@ -767,9 +767,9 @@
    * OK button pressed -- 
    * --------------------------------------------------------- */
   void x_dialog_exit_announcement_close_callback(GtkWidget *buttonok, 
  -				    gint return_code)
  +				    gpointer return_code)
   {
  -  gattrib_quit(return_code);
  +  gattrib_quit( (gint) return_code);
   }
   
   
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs