diff --git a/ChangeLog b/ChangeLog index 7201bccae7..d9cdd9d03e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-05-17 Michael Natterer + + * app/core/gimp.c (gimp_real_initialize): add a clipboard pattern + to the pattern factory (forgot to commit this file). + 2006-05-17 Manish Singh * po-libgimp/Makefile.in.in diff --git a/app/core/gimp.c b/app/core/gimp.c index 73c9b8c773..10a02dfe73 100644 --- a/app/core/gimp.c +++ b/app/core/gimp.c @@ -65,6 +65,7 @@ #include "gimpmarshal.h" #include "gimppalette.h" #include "gimppattern.h" +#include "gimppatternclipboard.h" #include "gimpparasitelist.h" #include "gimptemplate.h" #include "gimptoolinfo.h" @@ -503,6 +504,7 @@ gimp_real_initialize (Gimp *gimp, }; GimpData *clipboard_brush; + GimpData *clipboard_pattern; if (gimp->be_verbose) g_print ("INIT: gimp_real_initialize\n"); @@ -574,6 +576,13 @@ gimp_real_initialize (Gimp *gimp, GIMP_OBJECT (clipboard_brush)); g_object_unref (clipboard_brush); + /* add the clipboard pattern */ + clipboard_pattern = gimp_pattern_clipboard_new (gimp); + gimp_data_make_internal (GIMP_DATA (clipboard_pattern)); + gimp_container_add (gimp->pattern_factory->container, + GIMP_OBJECT (clipboard_pattern)); + g_object_unref (clipboard_pattern); + /* register all internal procedures */ status_callback (NULL, _("Internal Procedures"), 0.2); gimp_pdb_init_procs (gimp);