[gimp] app: set non-NULL names on the default image and the default grid
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: set non-NULL names on the default image and the default grid
- Date: Thu, 24 Jun 2010 16:40:24 +0000 (UTC)
commit a83b3250e4781bfb1f5f5add8cc21a96b27679e2
Author: Michael Natterer <mitch gimp org>
Date: Thu Jun 24 12:59:36 2010 +0200
app: set non-NULL names on the default image and the default grid
app/config/gimpcoreconfig.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/app/config/gimpcoreconfig.c b/app/config/gimpcoreconfig.c
index b2b6d00..59ee6e2 100644
--- a/app/config/gimpcoreconfig.c
+++ b/app/config/gimpcoreconfig.c
@@ -447,13 +447,16 @@ static void
gimp_core_config_init (GimpCoreConfig *config)
{
config->default_image = g_object_new (GIMP_TYPE_TEMPLATE,
+ "name", "Default Image",
"comment", DEFAULT_COMMENT,
NULL);
g_signal_connect (config->default_image, "notify",
G_CALLBACK (gimp_core_config_default_image_notify),
config);
- config->default_grid = g_object_new (GIMP_TYPE_GRID, NULL);
+ config->default_grid = g_object_new (GIMP_TYPE_GRID,
+ "name", "Default Grid",
+ NULL);
g_signal_connect (config->default_grid, "notify",
G_CALLBACK (gimp_core_config_default_grid_notify),
config);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]