mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
include our own header file. Minor cosmetics.
2006-10-30 Michael Natterer <mitch@gimp.org> * plug-ins/script-fu/script-fu-text-console.c: include our own header file. Minor cosmetics.
This commit is contained in:
parent
7c42c389df
commit
bf36c38796
|
@ -1,3 +1,8 @@
|
|||
2006-10-30 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* plug-ins/script-fu/script-fu-text-console.c: include our own
|
||||
header file. Minor cosmetics.
|
||||
|
||||
2006-10-30 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/config/gimpcoreconfig.c: changed default for
|
||||
|
|
|
@ -28,19 +28,20 @@
|
|||
#include "libgimp/gimp.h"
|
||||
|
||||
#include "scheme-wrapper.h"
|
||||
#include "script-fu-text-console.h"
|
||||
|
||||
#include "script-fu-intl.h"
|
||||
|
||||
|
||||
static void script_fu_text_console_interface (void);
|
||||
static void script_fu_text_console_interface (void);
|
||||
|
||||
|
||||
void
|
||||
script_fu_text_console_run (const gchar *name,
|
||||
gint nparams,
|
||||
const GimpParam *params,
|
||||
gint *nreturn_vals,
|
||||
GimpParam **return_vals)
|
||||
gint nparams,
|
||||
const GimpParam *params,
|
||||
gint *nreturn_vals,
|
||||
GimpParam **return_vals)
|
||||
{
|
||||
static GimpParam values[1];
|
||||
|
||||
|
@ -62,15 +63,14 @@ script_fu_text_console_run (const gchar *name,
|
|||
static gboolean
|
||||
read_command (GString *command)
|
||||
{
|
||||
guchar c;
|
||||
gint next;
|
||||
gint level = 0;
|
||||
gint next;
|
||||
gint level = 0;
|
||||
|
||||
g_string_truncate (command, 0);
|
||||
|
||||
while ((next = fgetc (stdin)) != EOF)
|
||||
{
|
||||
c = (guchar) next;
|
||||
guchar c = (guchar) next;
|
||||
|
||||
switch (c)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue