[gimp] Default to GIMP_NAME for the "title" property
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Default to GIMP_NAME for the "title" property
- Date: Tue, 6 Oct 2009 08:57:12 +0000 (UTC)
commit d0a614093e2dba5b559fae31af1e6d5a651321a3
Author: Michael Natterer <mitch gimp org>
Date: Tue Oct 6 10:56:10 2009 +0200
Default to GIMP_NAME for the "title" property
app/display/gimpdisplayshell.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c
index 7863691..65db99f 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -76,7 +76,9 @@
#include "gimpimagewindow.h"
#include "gimpstatusbar.h"
+#include "about.h"
#include "gimp-log.h"
+
#include "gimp-intl.h"
enum
@@ -226,8 +228,9 @@ gimp_display_shell_class_init (GimpDisplayShellClass *klass)
g_object_class_install_property (object_class, PROP_TITLE,
g_param_spec_string ("title", NULL, NULL,
- NULL,
- GIMP_PARAM_READWRITE));
+ GIMP_NAME,
+ GIMP_PARAM_READWRITE |
+ G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class, PROP_STATUS,
g_param_spec_string ("status", NULL, NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]