mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
Add missing G_PARAM_DEPRECATED to stock deprecations
This commit is contained in:
parent
aeb878a859
commit
72c3879893
@ -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:
|
||||
|
@ -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,
|
||||
|
@ -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:
|
||||
|
@ -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,
|
||||
|
@ -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));
|
||||
}
|
||||
|
@ -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,
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user