[gtk+] Add missing G_PARAM_DEPRECATED to stock deprecations
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Add missing G_PARAM_DEPRECATED to stock deprecations
- Date: Mon, 8 Jul 2013 20:07:03 +0000 (UTC)
commit 72c3879893c792a898d375e356a03b77b3b5783e
Author: William Jon McCann <william jon mccann gmail com>
Date: Mon Jul 8 15:39:55 2013 -0400
Add missing G_PARAM_DEPRECATED to stock deprecations
gtk/gtkbutton.c | 4 ++--
gtk/gtkcellrendererpixbuf.c | 2 +-
gtk/gtkentry.c | 4 ++--
gtk/gtkimage.c | 4 ++--
gtk/gtkimagemenuitem.c | 8 ++++----
gtk/gtkstatusicon.c | 2 +-
gtk/gtktoolbutton.c | 2 +-
7 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index 9794273..268a2cc 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 e6a8f53..c45a730 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 0c6b6f6..25dd4b0 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 bffdb73..5817572 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 31a89a1..33defb3 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 3e3b92a..04bb456 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 60f7e0d..10af3cb 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]