mirror of https://github.com/GNOME/gimp.git
add a clipboard pattern to the pattern factory (forgot to commit this
2006-05-17 Michael Natterer <mitch@gimp.org> * app/core/gimp.c (gimp_real_initialize): add a clipboard pattern to the pattern factory (forgot to commit this file).
This commit is contained in:
parent
b6a9aa6381
commit
109767513b
|
@ -1,3 +1,8 @@
|
|||
2006-05-17 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* 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 <yosh@gimp.org>
|
||||
|
||||
* po-libgimp/Makefile.in.in
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue