Commit c9482821 authored by Sven Neumann's avatar Sven Neumann
Browse files

mostly header cleanup and i18n


--Sven
parent a4025e05
Tue Feb 1 22:42:26 CET 2000
* app/regex.c
* plug-ins/script-fu/regex.c: remove occurences of gettext, since
we don't translate error messages
* app/[lotsa files]: only include libgimp/gimpintl.h if needed; but
if it gets included, include config.h too
* po/POTFILES.in
* po-plug-ins/POTFILES.in: only list files that mark strings for
translation
2000-02-01 Michael Natterer <mitch@gimp.org> 2000-02-01 Michael Natterer <mitch@gimp.org>
   
* app/menus.c * app/menus.c
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
#include "tools.h" #include "tools.h"
#include "undo.h" #include "undo.h"
#include "config.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#define return_if_no_display(gdisp) \ #define return_if_no_display(gdisp) \
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include "selection.h" #include "selection.h"
#include "tools.h" #include "tools.h"
#include "config.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
/* The maximum amount of pressure that can be exerted */ /* The maximum amount of pressure that can be exerted */
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#include "boundary.h" #include "boundary.h"
#include "tile.h" #include "tile.h"
#include "libgimp/gimpintl.h"
/* half intensity for mask */ /* half intensity for mask */
#define HALF_WAY 127 #define HALF_WAY 127
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "gimpui.h" #include "gimpui.h"
#include "image_map.h" #include "image_map.h"
#include "config.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#include "libgimp/gimpmath.h" #include "libgimp/gimpmath.h"
#include "libgimp/gimpcolorspace.h" #include "libgimp/gimpcolorspace.h"
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include "curves.h" #include "curves.h"
#include "gimplut.h" #include "gimplut.h"
#include "config.h"
#include "libgimp/gimpenv.h" #include "libgimp/gimpenv.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#include "libgimp/gimpmath.h" #include "libgimp/gimpmath.h"
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "hue_saturation.h" #include "hue_saturation.h"
#include "interface.h" #include "interface.h"
#include "config.h"
#include "libgimp/gimpcolorspace.h" #include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
......
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
#include "temp_buf.h" #include "temp_buf.h"
#include "libgimp/gimpcolorspace.h" #include "libgimp/gimpcolorspace.h"
#include "libgimp/gimpintl.h"
static unsigned char * temp_buf_allocate (unsigned int); static unsigned char * temp_buf_allocate (unsigned int);
static void temp_buf_to_color (TempBuf *, TempBuf *); static void temp_buf_to_color (TempBuf *, TempBuf *);
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "interface.h" #include "interface.h"
#include "threshold.h" #include "threshold.h"
#include "config.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#define HISTOGRAM_WIDTH 256 #define HISTOGRAM_WIDTH 256
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
#include "tile_pvt.h" /* ick. */ #include "tile_pvt.h" /* ick. */
#include "libgimp/gimpintl.h"
#include "stdio.h" #include "stdio.h"
/* This is the percentage of the maximum cache size that should be cleared /* This is the percentage of the maximum cache size that should be cleared
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
#include "tile_manager_pvt.h" #include "tile_manager_pvt.h"
#include "tile_pvt.h" /* ick. */ #include "tile_pvt.h" /* ick. */
#include "libgimp/gimpintl.h"
static int tile_manager_get_tile_num (TileManager *tm, static int tile_manager_get_tile_num (TileManager *tm,
int xpixel, int xpixel,
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#define _O_TEMPORARY 0 #define _O_TEMPORARY 0
#endif #endif
#include "libgimp/gimpintl.h"
#define MAX_OPEN_SWAP_FILES 16 #define MAX_OPEN_SWAP_FILES 16
#include "tile.h" #include "tile.h"
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#include "tile_manager.h" #include "tile_manager.h"
#include "tile_swap.h" #include "tile_swap.h"
#include "libgimp/gimpintl.h"
static void tile_destroy (Tile *tile); static void tile_destroy (Tile *tile);
......
/* The GIMP -- an image manipulation program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "config.h" #include "config.h"
#include <ctype.h> #include <ctype.h>
...@@ -14,8 +31,6 @@ ...@@ -14,8 +31,6 @@
#include "batch.h" #include "batch.h"
#include "procedural_db.h" #include "procedural_db.h"
#include "libgimp/gimpintl.h"
static void batch_run_cmd (char *cmd); static void batch_run_cmd (char *cmd);
static void batch_read (gpointer data, static void batch_read (gpointer data,
gint source, gint source,
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#include "boundary.h" #include "boundary.h"
#include "tile.h" #include "tile.h"
#include "libgimp/gimpintl.h"
/* half intensity for mask */ /* half intensity for mask */
#define HALF_WAY 127 #define HALF_WAY 127
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "image_map.h" #include "image_map.h"
#include "lut_funcs.h" #include "lut_funcs.h"
#include "config.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#define SLIDER_WIDTH 200 #define SLIDER_WIDTH 200
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "brush_edit.h" #include "brush_edit.h"
#include "gimpui.h" #include "gimpui.h"
#include "config.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
static void brush_edit_close_callback (GtkWidget *, gpointer); static void brush_edit_close_callback (GtkWidget *, gpointer);
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include "paint_options.h" #include "paint_options.h"
#include "session.h" #include "session.h"
#include "config.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#define MIN_CELL_SIZE 25 #define MIN_CELL_SIZE 25
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include "tools.h" #include "tools.h"
#include "undo.h" #include "undo.h"
#include "config.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
/* the bucket fill structures */ /* the bucket fill structures */
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "tile.h" /* ick. */ #include "tile.h" /* ick. */
#include "config.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#define DEFAULT_FUZZINESS 15 #define DEFAULT_FUZZINESS 15
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment