mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
renamed to app/app.[ch].
2007-02-02 Sven Neumann <sven@gimp.org> * app/app_procs.[ch]: renamed to app/app.[ch]. * app/Makefile.am * app/main.c: changed accordingly. svn path=/trunk/; revision=21838
This commit is contained in:
parent
85bf9a7b16
commit
766d27da9d
7 changed files with 67 additions and 61 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-02-02 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/app_procs.[ch]: renamed to app/app.[ch].
|
||||
|
||||
* app/Makefile.am
|
||||
* app/main.c: changed accordingly.
|
||||
|
||||
2007-02-02 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/mosaic.c (find_gradients): fixed problem pointed
|
||||
|
|
|
@ -38,14 +38,14 @@ bin_PROGRAMS = gimp-2.3
|
|||
endif
|
||||
|
||||
app_sources = \
|
||||
app_procs.c \
|
||||
app_procs.h \
|
||||
main.c \
|
||||
about.h \
|
||||
app.c \
|
||||
app.h \
|
||||
batch.c \
|
||||
batch.h \
|
||||
errors.c \
|
||||
errors.h \
|
||||
main.c \
|
||||
sanity.c \
|
||||
sanity.h \
|
||||
units.c \
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
#include "gui/gui.h"
|
||||
#endif
|
||||
|
||||
#include "app_procs.h"
|
||||
#include "app.h"
|
||||
#include "batch.h"
|
||||
#include "errors.h"
|
||||
#include "units.h"
|
||||
|
@ -138,7 +138,6 @@ app_run (const gchar *full_prog_name,
|
|||
GimpBaseConfig *config;
|
||||
GMainLoop *loop;
|
||||
gboolean swap_is_ok;
|
||||
gint i;
|
||||
|
||||
/* Create an instance of the "Gimp" object which is the root of the
|
||||
* core object system
|
54
app/app.h
Normal file
54
app/app.h
Normal file
|
@ -0,0 +1,54 @@
|
|||
/* GIMP - The GNU 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.
|
||||
*/
|
||||
|
||||
#ifndef __APP_H__
|
||||
#define __APP_H__
|
||||
|
||||
|
||||
#ifndef GIMP_APP_GLUE_COMPILATION
|
||||
#error You must not #include "app.h" from a subdir
|
||||
#endif
|
||||
|
||||
|
||||
void app_libs_init (GOptionContext *context,
|
||||
gboolean no_interface);
|
||||
void app_abort (gboolean no_interface,
|
||||
const gchar *abort_message) G_GNUC_NORETURN;
|
||||
void app_exit (gint status) G_GNUC_NORETURN;
|
||||
|
||||
void app_run (const gchar *full_prog_name,
|
||||
const gchar **filenames,
|
||||
const gchar *alternate_system_gimprc,
|
||||
const gchar *alternate_gimprc,
|
||||
const gchar *session_name,
|
||||
const gchar *batch_interpreter,
|
||||
const gchar **batch_commands,
|
||||
gboolean no_interface,
|
||||
gboolean no_data,
|
||||
gboolean no_fonts,
|
||||
gboolean no_splash,
|
||||
gboolean be_verbose,
|
||||
gboolean use_shm,
|
||||
gboolean use_cpu_accel,
|
||||
gboolean console_messages,
|
||||
gboolean use_debug_handler,
|
||||
GimpStackTraceMode stack_trace_mode,
|
||||
GimpPDBCompatMode pdb_compat_mode);
|
||||
|
||||
|
||||
#endif /* __APP_H__ */
|
|
@ -1,54 +0,0 @@
|
|||
/* GIMP - The GNU 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.
|
||||
*/
|
||||
|
||||
#ifndef __APP_PROCS_H__
|
||||
#define __APP_PROCS_H__
|
||||
|
||||
|
||||
#ifndef GIMP_APP_GLUE_COMPILATION
|
||||
#error You must not #include "app_procs.h" from an app/ subdir
|
||||
#endif
|
||||
|
||||
|
||||
void app_libs_init (GOptionContext *context,
|
||||
gboolean no_interface);
|
||||
void app_abort (gboolean no_interface,
|
||||
const gchar *abort_message) G_GNUC_NORETURN;
|
||||
void app_exit (gint status) G_GNUC_NORETURN;
|
||||
|
||||
void app_run (const gchar *full_prog_name,
|
||||
const gchar **filenames,
|
||||
const gchar *alternate_system_gimprc,
|
||||
const gchar *alternate_gimprc,
|
||||
const gchar *session_name,
|
||||
const gchar *batch_interpreter,
|
||||
const gchar **batch_commands,
|
||||
gboolean no_interface,
|
||||
gboolean no_data,
|
||||
gboolean no_fonts,
|
||||
gboolean no_splash,
|
||||
gboolean be_verbose,
|
||||
gboolean use_shm,
|
||||
gboolean use_cpu_accel,
|
||||
gboolean console_messages,
|
||||
gboolean use_debug_handler,
|
||||
GimpStackTraceMode stack_trace_mode,
|
||||
GimpPDBCompatMode pdb_compat_mode);
|
||||
|
||||
|
||||
#endif /* __APP_PROCS_H__ */
|
|
@ -58,7 +58,7 @@
|
|||
#include "widgets/gimpdbusservice.h"
|
||||
|
||||
#include "about.h"
|
||||
#include "app_procs.h"
|
||||
#include "app.h"
|
||||
#include "errors.h"
|
||||
#include "sanity.h"
|
||||
#include "units.h"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
[encoding: UTF-8]
|
||||
|
||||
app/about.h
|
||||
app/app_procs.c
|
||||
app/app.c
|
||||
app/batch.c
|
||||
app/main.c
|
||||
app/sanity.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue