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

gEDA-cvs: CVS update: o_bus.c



  User: ahvezda 
  Date: 07/02/10 16:25:31

  Modified:    .        o_bus.c o_grips.c o_net.c x_autonumber.c
                        x_compselect.c x_dialog.c x_image.c x_menus.c
                        x_preview.c x_print.c
  Log:
  Fixed a bunch of compiler warnings.  Updated some of the man pages a little.
  
  
  
  
  Revision  Changes    Path
  1.23      +1 -1      eda/geda/gaf/gschem/src/o_bus.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_bus.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_bus.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -b -r1.22 -r1.23
  --- o_bus.c	17 Dec 2006 04:14:03 -0000	1.22
  +++ o_bus.c	10 Feb 2007 21:25:29 -0000	1.23
  @@ -67,7 +67,7 @@
   
       gdk_gc_set_line_attributes(w_current->gc, size, GDK_LINE_SOLID,
                                  GDK_CAP_BUTT,
  -                               GDK_CAP_NOT_LAST);
  +                               GDK_JOIN_MITER);
     }
   
     if (w_current->override_color != -1 ) {
  
  
  
  1.14      +1 -1      eda/geda/gaf/gschem/src/o_grips.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_grips.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_grips.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- o_grips.c	17 Dec 2006 04:14:03 -0000	1.13
  +++ o_grips.c	10 Feb 2007 21:25:29 -0000	1.14
  @@ -1243,7 +1243,7 @@
             gdk_gc_set_line_attributes(w_current->gc, size, 
                                        GDK_LINE_SOLID,
                                        GDK_CAP_BUTT,
  -                                     GDK_CAP_NOT_LAST);
  +                                     GDK_JOIN_MITER);
           }
         
         gdk_gc_set_foreground(w_current->gc,
  
  
  
  1.31      +2 -2      eda/geda/gaf/gschem/src/o_net.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_net.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_net.c,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -b -r1.30 -r1.31
  --- o_net.c	17 Dec 2006 04:14:03 -0000	1.30
  +++ o_net.c	10 Feb 2007 21:25:29 -0000	1.31
  @@ -74,12 +74,12 @@
       gdk_gc_set_line_attributes(w_current->gc, size, 
                                  GDK_LINE_SOLID,
                                  GDK_CAP_BUTT,
  -                               GDK_CAP_NOT_LAST);
  +                               GDK_JOIN_MITER);
   
       gdk_gc_set_line_attributes(w_current->bus_gc, size, 
                                  GDK_LINE_SOLID,
                                  GDK_CAP_BUTT,
  -                               GDK_CAP_NOT_LAST);
  +                               GDK_JOIN_MITER);
     }
   
     if (w_current->override_color != -1 ) {
  
  
  
  1.10      +4 -4      eda/geda/gaf/gschem/src/x_autonumber.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_autonumber.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_autonumber.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- x_autonumber.c	4 Jan 2007 12:30:41 -0000	1.9
  +++ x_autonumber.c	10 Feb 2007 21:25:29 -0000	1.10
  @@ -680,7 +680,7 @@
     /* Step1: get all pages of the hierarchy */
     pages = s_hierarchy_traversepages(w_current, HIERARCHY_NODUPS);
   
  -  //  g_list_foreach(pages, (GFunc) s_hierarchy_print_page, NULL);
  +  /*  g_list_foreach(pages, (GFunc) s_hierarchy_print_page, NULL); */
   
     /* Step2: if searchtext has an asterisk at the end we have to find
        all matching searchtextes. 
  @@ -728,8 +728,8 @@
   	      if (g_list_find_custom(searchtext_list, new_searchtext,
   				     (GCompareFunc) strcmp) == NULL ) {
   		searchtext_list = g_list_append(searchtext_list, new_searchtext);
  -		//printf("autonumber_text: text \"%s\", \"%s\"\n", 
  -		//       o_current->text->string, new_searchtext);
  +		/*printf("autonumber_text: text \"%s\", \"%s\"\n",  */
  +		/*       o_current->text->string, new_searchtext);  */
   	      }
   	      else {
   		g_free(new_searchtext);
  @@ -751,7 +751,7 @@
     /* Step3: iterate over the search items in the list */
     for (text_item=searchtext_list; text_item !=NULL; text_item=g_list_next(text_item)) {
       autotext->current_searchtext = text_item->data;
  -    // printf("autonumber_text_autonumber: searchtext %s\n", autotext->current_searchtext);
  +    /* printf("autonumber_text_autonumber: searchtext %s\n", autotext->current_searchtext); */
       /* decide whether to renumber page by page or get a global used-list */
       if (autotext->scope_skip == SCOPE_HIERARCHY) {  /* whole hierarchy database */
         /* renumbering all means that no db is required */
  
  
  
  1.15      +1 -1      eda/geda/gaf/gschem/src/x_compselect.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_compselect.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_compselect.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- x_compselect.c	4 Jan 2007 12:30:41 -0000	1.14
  +++ x_compselect.c	10 Feb 2007 21:25:29 -0000	1.15
  @@ -215,7 +215,7 @@
   
   enum {
     PROP_FILENAME=1,
  -  PROP_BEHAVIOR,
  +  PROP_BEHAVIOR
   };
   
   static GObjectClass *compselect_parent_class = NULL;
  
  
  
  1.76      +1 -1      eda/geda/gaf/gschem/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/gschem/src/x_dialog.c,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -b -r1.75 -r1.76
  --- x_dialog.c	21 Dec 2006 20:53:38 -0000	1.75
  +++ x_dialog.c	10 Feb 2007 21:25:29 -0000	1.76
  @@ -3339,7 +3339,7 @@
   enum {
     PROP_UNSAVED_PAGE=1,
     PROP_UNSAVED_PAGES,
  -  PROP_SELECTED_PAGES,
  +  PROP_SELECTED_PAGES
   };
   
   enum {
  
  
  
  1.31      +0 -2      eda/geda/gaf/gschem/src/x_image.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_image.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_image.c,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -b -r1.30 -r1.31
  --- x_image.c	17 Jan 2007 00:09:13 -0000	1.30
  +++ x_image.c	10 Feb 2007 21:25:31 -0000	1.31
  @@ -576,8 +576,6 @@
     int origin_x, origin_y, bottom, right;
     int size_x, size_y, s_right, s_left, s_top,s_bottom;
     TOPLEVEL toplevel;
  -  OBJECT *aux;
  -  char object_found = 0;
   
     /* Do a copy of the toplevel struct and work with it */
     memcpy(&toplevel, w_current, sizeof(TOPLEVEL));
  
  
  
  1.41      +0 -1      eda/geda/gaf/gschem/src/x_menus.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_menus.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_menus.c,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -b -r1.40 -r1.41
  --- x_menus.c	5 Dec 2006 03:04:31 -0000	1.40
  +++ x_menus.c	10 Feb 2007 21:25:31 -0000	1.41
  @@ -102,7 +102,6 @@
     char *menu_item_hotkey_func;
     char *menu_item_keys;
     char *spaces;
  -  const char *help_string;
     int i, j;
     int name_len, key_len, pad;
     int sum, diff, max_size, space_size;
  
  
  
  1.14      +1 -1      eda/geda/gaf/gschem/src/x_preview.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_preview.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_preview.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- x_preview.c	23 Sep 2006 08:41:39 -0000	1.13
  +++ x_preview.c	10 Feb 2007 21:25:31 -0000	1.14
  @@ -46,7 +46,7 @@
   
   enum {
     PROP_FILENAME=1,
  -  PROP_ACTIVE,
  +  PROP_ACTIVE
   };
   
   static GObjectClass *preview_parent_class = NULL;
  
  
  
  1.30      +3 -2      eda/geda/gaf/gschem/src/x_print.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_print.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_print.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -b -r1.29 -r1.30
  --- x_print.c	10 Feb 2007 21:10:04 -0000	1.29
  +++ x_print.c	10 Feb 2007 21:25:31 -0000	1.30
  @@ -388,7 +388,7 @@
   		    GTK_WIDGET (dialog->fnfield),
   		    1, 2, 0, 1, GTK_EXPAND | GTK_FILL, 0, 0, 0);
   
  -  dialog->saveasbutton = (GtkButton *) gtk_button_new();
  +  dialog->saveasbutton = GTK_BUTTON(gtk_button_new());
     gtk_container_add(GTK_CONTAINER(dialog->saveasbutton),
   		    gtk_image_new_from_stock(GTK_STOCK_OPEN,
   					     GTK_ICON_SIZE_SMALL_TOOLBAR));
  @@ -677,6 +677,7 @@
     gint paperidx, x, y, result;
     gchar *string, *destination;
     gboolean usefile = FALSE;
  +  GtkDialog *dialog; 
     GtkWidget *popup_message;
   
     /* Work out current paper size by iterating through available paper
  @@ -707,7 +708,7 @@
    
     /* Create a print dialog, find out whether the user clicks Print or
        Cancel, and then print or return accordingly */
  -  GtkDialog *dialog = GTK_DIALOG (g_object_new (TYPE_PRINT_DIALOG,
  +  dialog = GTK_DIALOG (g_object_new (TYPE_PRINT_DIALOG,
   						"command", command,
   						"filename", filename,
   						"papersize", paperidx,
  
  
  


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