diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2013-07-08 15:39:55 -0400 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2013-07-08 15:39:55 -0400 |
commit | 72c3879893c792a898d375e356a03b77b3b5783e (patch) | |
tree | 4eed79155213b788528195cb98917056ba98c209 | |
parent | aeb878a859a71b2946997fd27747d53ea17d8dbc (diff) | |
download | gtk+-72c3879893c792a898d375e356a03b77b3b5783e.tar.gz |
Add missing G_PARAM_DEPRECATED to stock deprecations
-rw-r--r-- | gtk/gtkbutton.c | 4 | ||||
-rw-r--r-- | gtk/gtkcellrendererpixbuf.c | 2 | ||||
-rw-r--r-- | gtk/gtkentry.c | 4 | ||||
-rw-r--r-- | gtk/gtkimage.c | 4 | ||||
-rw-r--r-- | gtk/gtkimagemenuitem.c | 8 | ||||
-rw-r--r-- | gtk/gtkstatusicon.c | 2 | ||||
-rw-r--r-- | gtk/gtktoolbutton.c | 2 |
7 files changed, 13 insertions, 13 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index 9794273352..268a2ccb4a 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -273,7 +273,7 @@ gtk_button_class_init (GtkButtonClass *klass) P_("Use stock"), P_("If set, the label is used to pick a stock item instead of being displayed"), FALSE, - GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT)); + GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_DEPRECATED)); g_object_class_install_property (gobject_class, PROP_FOCUS_ON_CLICK, @@ -566,7 +566,7 @@ gtk_button_class_init (GtkButtonClass *klass) P_("Inner Border"), P_("Border between button edges and child."), GTK_TYPE_BORDER, - GTK_PARAM_READABLE)); + GTK_PARAM_READABLE | G_PARAM_DEPRECATED)); /** * GtkButton::image-spacing: diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c index e6a8f53976..c45a73025c 100644 --- a/gtk/gtkcellrendererpixbuf.c +++ b/gtk/gtkcellrendererpixbuf.c @@ -189,7 +189,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class) P_("Stock ID"), P_("The stock ID of the stock icon to render"), NULL, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); g_object_class_install_property (object_class, PROP_STOCK_SIZE, diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 0c6b6f6c70..25dd4b0ad6 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -1077,7 +1077,7 @@ gtk_entry_class_init (GtkEntryClass *class) P_("Primary stock ID"), P_("Stock ID for primary icon"), NULL, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); /** * GtkEntry:secondary-icon-stock: @@ -1094,7 +1094,7 @@ gtk_entry_class_init (GtkEntryClass *class) P_("Secondary stock ID"), P_("Stock ID for secondary icon"), NULL, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); /** * GtkEntry:primary-icon-name: diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index bffdb73769..5817572906 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -261,7 +261,7 @@ gtk_image_class_init (GtkImageClass *class) P_("Stock ID"), P_("Stock ID for a stock image to display"), NULL, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); /** * GtkImage:icon-set: @@ -275,7 +275,7 @@ gtk_image_class_init (GtkImageClass *class) P_("Icon set"), P_("Icon set to display"), GTK_TYPE_ICON_SET, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); G_GNUC_END_IGNORE_DEPRECATIONS; g_object_class_install_property (gobject_class, diff --git a/gtk/gtkimagemenuitem.c b/gtk/gtkimagemenuitem.c index 31a89a1290..33defb36b5 100644 --- a/gtk/gtkimagemenuitem.c +++ b/gtk/gtkimagemenuitem.c @@ -164,7 +164,7 @@ gtk_image_menu_item_class_init (GtkImageMenuItemClass *klass) P_("Image widget"), P_("Child widget to appear next to the menu text"), GTK_TYPE_WIDGET, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); /** * GtkImageMenuItem:use-stock: * @@ -181,7 +181,7 @@ gtk_image_menu_item_class_init (GtkImageMenuItemClass *klass) P_("Use stock"), P_("Whether to use the label text to create a stock menu item"), FALSE, - GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT)); + GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_DEPRECATED)); /** * GtkImageMenuItem:always-show-image: @@ -201,7 +201,7 @@ gtk_image_menu_item_class_init (GtkImageMenuItemClass *klass) P_("Always show image"), P_("Whether the image will always be shown"), FALSE, - GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT)); + GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_DEPRECATED)); /** * GtkImageMenuItem:accel-group: @@ -218,7 +218,7 @@ gtk_image_menu_item_class_init (GtkImageMenuItemClass *klass) P_("Accel Group"), P_("The Accel Group to use for stock accelerator keys"), GTK_TYPE_ACCEL_GROUP, - GTK_PARAM_WRITABLE)); + GTK_PARAM_WRITABLE | G_PARAM_DEPRECATED)); g_type_class_add_private (klass, sizeof (GtkImageMenuItemPrivate)); } diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c index 3e3b92a48b..04bb456376 100644 --- a/gtk/gtkstatusicon.c +++ b/gtk/gtkstatusicon.c @@ -244,7 +244,7 @@ gtk_status_icon_class_init (GtkStatusIconClass *class) P_("Stock ID"), P_("Stock ID for a stock image to display"), NULL, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); g_object_class_install_property (gobject_class, PROP_ICON_NAME, diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c index 60f7e0df98..10af3cbcb2 100644 --- a/gtk/gtktoolbutton.c +++ b/gtk/gtktoolbutton.c @@ -265,7 +265,7 @@ gtk_tool_button_class_init (GtkToolButtonClass *klass) P_("Stock Id"), P_("The stock icon displayed on the item"), NULL, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); /** * GtkToolButton:icon-name: |