More default property value fixes

svn path=/trunk/; revision=19277
This commit is contained in:
Matthias Clasen 2007-12-28 17:29:53 +00:00
parent 81b82a676f
commit 32530a9f78
4 changed files with 10 additions and 7 deletions

View File

@ -1,5 +1,8 @@
2007-12-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmessagedialog.c:
* gtk/gtknotebook.c:
* gtk/gtkprinter.c:
* gtk/gtkfilesel.c:
* gtk/gtklabel.c:
* gtk/gtklinkbutton.c:

View File

@ -152,7 +152,7 @@ gtk_message_dialog_class_init (GtkMessageDialogClass *class)
g_param_spec_string ("text",
P_("Text"),
P_("The primary text of the message dialog"),
NULL,
"",
GTK_PARAM_READWRITE));
/**

View File

@ -563,9 +563,9 @@ gtk_notebook_class_init (GtkNotebookClass *class)
g_param_spec_int ("page",
P_("Page"),
P_("The index of the current page"),
0,
-1,
G_MAXINT,
0,
-1,
GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_TAB_POS,

View File

@ -118,7 +118,7 @@ gtk_printer_class_init (GtkPrinterClass *class)
g_param_spec_string ("name",
P_("Name"),
P_("Name of the printer"),
NULL,
"",
GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
g_object_class_install_property (G_OBJECT_CLASS (class),
PROP_BACKEND,
@ -153,21 +153,21 @@ gtk_printer_class_init (GtkPrinterClass *class)
g_param_spec_string ("state-message",
P_("State Message"),
P_("String giving the current state of the printer"),
NULL,
"",
GTK_PARAM_READABLE));
g_object_class_install_property (G_OBJECT_CLASS (class),
PROP_LOCATION,
g_param_spec_string ("location",
P_("Location"),
P_("The location of the printer"),
NULL,
"",
GTK_PARAM_READABLE));
g_object_class_install_property (G_OBJECT_CLASS (class),
PROP_ICON_NAME,
g_param_spec_string ("icon-name",
P_("Icon Name"),
P_("The icon name to use for the printer"),
NULL,
"",
GTK_PARAM_READABLE));
g_object_class_install_property (G_OBJECT_CLASS (class),
PROP_JOB_COUNT,