[gimp] plug-ins: register an icon for goat-exercise



commit 1e10cfc53f756a1d728168e111ece3de03789b3e
Author: Michael Natterer <mitch gimp org>
Date:   Tue Jul 30 19:25:06 2019 +0200

    plug-ins: register an icon for goat-exercise

 plug-ins/common/goat-exercise.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/plug-ins/common/goat-exercise.c b/plug-ins/common/goat-exercise.c
index b20b438a72..4ffaebd1b9 100644
--- a/plug-ins/common/goat-exercise.c
+++ b/plug-ins/common/goat-exercise.c
@@ -20,6 +20,7 @@
 #include "config.h"
 
 #include <libgimp/gimp.h>
+#include <libgimp/gimpui.h>
 
 #include "libgimp/stdplugins-intl.h"
 
@@ -111,6 +112,8 @@ goat_create_procedure (GimpPlugIn  *plug_in,
                                   "RGB*, INDEXED*, GRAY*");
 
       gimp_procedure_add_menu_path (procedure, "<Image>/Filters");
+      gimp_procedure_set_icon (procedure, GIMP_ICON_TYPE_ICON_NAME,
+                               (const guint8 *) GIMP_ICON_GEGL);
 
       gimp_procedure_add_argument (procedure,
                                    g_param_spec_enum ("run-mode",


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