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

gEDA-cvs: CVS update: gtkitementry_2_2.c



  User: danmc   
  Date: 05/09/27 18:45:27

  Modified:    .        gtkitementry_2_2.c gtksheet_2_2.c
  Log:
  remove various compiler warnings
  
  
  Revision  Changes    Path
  1.6       +2 -0      eda/geda/devel/gattrib/src/gtkitementry_2_2.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: gtkitementry_2_2.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gattrib/src/gtkitementry_2_2.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- gtkitementry_2_2.c	10 Apr 2005 11:27:02 -0000	1.5
  +++ gtkitementry_2_2.c	27 Sep 2005 22:45:27 -0000	1.6
  @@ -914,6 +914,7 @@
   	case GTK_MOVEMENT_DISPLAY_LINES:
   	case GTK_MOVEMENT_PARAGRAPHS:
   	case GTK_MOVEMENT_PAGES:
  +	case GTK_MOVEMENT_HORIZONTAL_PAGES:
   	  break;
   	}
       }
  @@ -947,6 +948,7 @@
   	case GTK_MOVEMENT_DISPLAY_LINES:
   	case GTK_MOVEMENT_PARAGRAPHS:
   	case GTK_MOVEMENT_PAGES:
  +	case GTK_MOVEMENT_HORIZONTAL_PAGES:
   	  break;
   	}
       }
  
  
  
  1.8       +5 -1      eda/geda/devel/gattrib/src/gtksheet_2_2.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: gtksheet_2_2.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gattrib/src/gtksheet_2_2.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- gtksheet_2_2.c	10 Apr 2005 11:27:02 -0000	1.7
  +++ gtksheet_2_2.c	27 Sep 2005 22:45:27 -0000	1.8
  @@ -396,8 +396,10 @@
   static gint gtk_sheet_motion 			(GtkWidget * widget,
   		  				 GdkEventMotion * event);
   
  +#if 0
   static gint gtk_sheet_entry_key_press		(GtkWidget *widget,
   		                		 GdkEventKey *key);
  +#endif
   
   static gint gtk_sheet_key_press			(GtkWidget *widget,
   		                		 GdkEventKey *key);
  @@ -5584,7 +5586,9 @@
     gint row, col;
     gint state;
     gboolean extend_selection = FALSE;
  +#if 0
     gboolean force_move = FALSE;
  +#endif
     gboolean in_selection = FALSE;
     gboolean veto = TRUE;
     gint scroll = 1;
  @@ -7061,7 +7065,7 @@
   
      gdk_gc_set_clip_rectangle(sheet->xor_gc, &clip_area);
   
  -   for(i=-1;i<=1;i=++i)
  +   for(i=-1;i<=1;i++)
        gdk_draw_rectangle(sheet->sheet_window,
                           sheet->xor_gc,
   		        FALSE,