mirror of https://github.com/GNOME/gimp.git
plug-ins: rename the C goat exercise to goat-exercise-c.
Makes for consistent naming of the different demo code we have there.
This commit is contained in:
parent
d0be3d3e0c
commit
c1f28f7e8c
|
@ -36,15 +36,15 @@ AM_CPPFLAGS = \
|
|||
|
||||
# C version.
|
||||
|
||||
goat_exercise_libexecdir = $(gimpplugindir)/plug-ins/goat-exercise
|
||||
goat_exercise_c_libexecdir = $(gimpplugindir)/plug-ins/goat-exercise-c
|
||||
|
||||
goat_exercise_libexec_PROGRAMS = goat-exercise
|
||||
goat_exercise_libexec_DATA = goat-exercise.c
|
||||
goat_exercise_c_libexec_PROGRAMS = goat-exercise-c
|
||||
goat_exercise_c_libexec_DATA = goat-exercise-c.c
|
||||
|
||||
goat_exercise_SOURCES = \
|
||||
goat-exercise.c
|
||||
goat_exercise_c_SOURCES = \
|
||||
goat-exercise-c.c
|
||||
|
||||
goat_exercise_LDADD = \
|
||||
goat_exercise_c_LDADD = \
|
||||
$(libgimp) \
|
||||
$(libgimpmath) \
|
||||
$(libgimpconfig) \
|
||||
|
|
|
@ -27,9 +27,9 @@
|
|||
#include "libgimp/stdplugins-intl.h"
|
||||
|
||||
|
||||
#define PLUG_IN_BINARY "goat-exercise"
|
||||
#define PLUG_IN_BINARY "goat-exercise-c"
|
||||
#define PLUG_IN_SOURCE PLUG_IN_BINARY ".c"
|
||||
#define PLUG_IN_PROC "plug-in-goat-exercise"
|
||||
#define PLUG_IN_PROC "plug-in-goat-exercise-c"
|
||||
#define PLUG_IN_ROLE "goat-exercise-C"
|
||||
|
||||
#define GOAT_URI "https://gitlab.gnome.org/GNOME/gimp/blob/master/plug-ins/goat-exercises/goat-exercise.c"
|
||||
|
@ -42,7 +42,7 @@ typedef struct _GoatClass GoatClass;
|
|||
|
||||
struct _Goat
|
||||
{
|
||||
GimpPlugIn parent_instance;
|
||||
GimpPlugIn parent_instance;
|
||||
};
|
||||
|
||||
struct _GoatClass
|
||||
|
@ -203,11 +203,11 @@ goat_run (GimpProcedure *procedure,
|
|||
gtk_widget_show (box);
|
||||
|
||||
head_text = g_strdup_printf (_("This plug-in is an exercise in '%s' "
|
||||
"to demo plug-in creation.\n"
|
||||
"Check out the last version "
|
||||
"of the source code online by "
|
||||
"clicking the \"Source\" button."),
|
||||
"C");
|
||||
"to demo plug-in creation.\n"
|
||||
"Check out the last version "
|
||||
"of the source code online by "
|
||||
"clicking the \"Source\" button."),
|
||||
"C");
|
||||
widget = gtk_label_new (head_text);
|
||||
g_free (head_text);
|
||||
gtk_box_pack_start (GTK_BOX (box), widget, FALSE, FALSE, 1);
|
Loading…
Reference in New Issue