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

gEDA-cvs: CVS update: x_dialog.c



  User: danmc   
  Date: 05/02/14 17:27:59

  Modified:    .        x_dialog.c
  Log:
  - move the config.h inclusion higher up so the protected inclusion of
  
  string.h doesn't fail.
  
  
  
  - fix a format string/# of arguments mismatch in a warning string.
  
  
  
  
  Revision  Changes    Path
  1.14      +6 -3      eda/geda/devel/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/devel/gattrib/src/x_dialog.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- x_dialog.c	12 Feb 2005 16:43:41 -0000	1.13
  +++ x_dialog.c	14 Feb 2005 22:27:58 -0000	1.14
  @@ -21,6 +21,9 @@
    * This file holds fcns used to display dialog boxes.  
    *------------------------------------------------------------------*/
   
  +#ifdef HAVE_CONFIG_H
  +#include "config.h"
  +#endif
   
   /*------------------------------------------------------------------
    * Includes required to run graphical widgets.
  @@ -54,7 +57,6 @@
   /*------------------------------------------------------------------
    * Gattrib specific includes
    *------------------------------------------------------------------*/
  -#include <config.h>
   #include <libgeda/libgeda.h>       /* geda library fcns  */
   #include "../include/struct.h"     /* typdef and struct declarations */
   #include "../include/prototype.h"  /* function prototypes */
  @@ -468,7 +470,8 @@
     
     /*  Create a text label for the dialog window */
     string =
  -    g_strdup_printf(_("Warning!  One or more components have been found with missing symbol files!\n"), refdes);
  +    g_strdup_printf(_("Warning!  One or more components have been found with missing symbol files (%s)!\n"),
  +      refdes);
     string =
       g_strdup_printf(_("%s\n"), string);
     string =
  @@ -933,7 +936,7 @@
   /* ========================================================= *
    * Fcns common to all dialog boxes
    * This code also stolen from gschem & adapted for gattrib. 
  -/* ========================================================= *
  + * ========================================================= */
   
   /* ---------------------------------------------------- *
    * This creates a dialog box.  It has two areas: the vbox