Commit 32530a9f authored by Matthias Clasen's avatar Matthias Clasen

More default property value fixes

svn path=/trunk/; revision=19277
parent 81b82a67
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:
......
......@@ -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));
/**
......
......@@ -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,
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment