From 06609470188075407d1668c66f99c19f6da1c67f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 21 Mar 2005 05:17:10 +0000 Subject: [PATCH] Mark param spec strings as static. 2005-03-21 Matthias Clasen * gdk/gdkpango.c (gdk_pango_renderer_class_init): * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark param spec strings as static. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gdk/gdkdisplaymanager.c | 3 ++- gdk/gdkpango.c | 4 +++- 5 files changed, 23 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1ee323a1ee..20d8385cdc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-03-21 Matthias Clasen + + * gdk/gdkpango.c (gdk_pango_renderer_class_init): + * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark + param spec strings as static. + 2005-03-21 Tor Lillqvist * modules/engines/ms-windows/*.c: Silence gcc warnings (unused diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 1ee323a1ee..20d8385cdc 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2005-03-21 Matthias Clasen + + * gdk/gdkpango.c (gdk_pango_renderer_class_init): + * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark + param spec strings as static. + 2005-03-21 Tor Lillqvist * modules/engines/ms-windows/*.c: Silence gcc warnings (unused diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 1ee323a1ee..20d8385cdc 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2005-03-21 Matthias Clasen + + * gdk/gdkpango.c (gdk_pango_renderer_class_init): + * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark + param spec strings as static. + 2005-03-21 Tor Lillqvist * modules/engines/ms-windows/*.c: Silence gcc warnings (unused diff --git a/gdk/gdkdisplaymanager.c b/gdk/gdkdisplaymanager.c index afc3ab455f..897d99ba5d 100644 --- a/gdk/gdkdisplaymanager.c +++ b/gdk/gdkdisplaymanager.c @@ -129,7 +129,8 @@ gdk_display_manager_class_init (GdkDisplayManagerClass *klass) P_("Default Display"), P_("The default display for GDK"), GDK_TYPE_DISPLAY, - G_PARAM_READWRITE)); + G_PARAM_READWRITE|G_PARAM_STATIC_NAME| + G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB)); } static void diff --git a/gdk/gdkpango.c b/gdk/gdkpango.c index 526dbc20d7..4f26ab70d4 100644 --- a/gdk/gdkpango.c +++ b/gdk/gdkpango.c @@ -570,7 +570,9 @@ gdk_pango_renderer_class_init (GdkPangoRendererClass *klass) P_("Screen"), P_("the GdkScreen for the renderer"), GDK_TYPE_SCREEN, - G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); + G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | + G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | + G_PARAM_STATIC_BLURB)); g_type_class_add_private (object_class, sizeof (GdkPangoRendererPrivate)); }