Mark param spec strings as static.
2005-03-21 Matthias Clasen <mclasen@redhat.com> * gdk/gdkpango.c (gdk_pango_renderer_class_init): * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark param spec strings as static.
This commit is contained in:
committed by
Matthias Clasen
parent
7e77ea9943
commit
0660947018
@ -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
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user