diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-05-22 09:05:58 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-05-22 09:09:55 -0400 |
commit | 49cf5142ba9e9542e3e848f0fc55c4fd2eaa9f7f (patch) | |
tree | 2b0794b7842a9d9fe093db0389765ad3dd89b739 /gtk/gtkcolorbutton.c | |
parent | c3a9a20839955a98266463c6fad4f0190feaccc2 (diff) | |
download | gtk+-49cf5142ba9e9542e3e848f0fc55c4fd2eaa9f7f.tar.gz |
Deprecate GdkColor
It has been replaced by GdkRGBA. Time to make it official.
http://bugzilla.gnome.org/show_bug.cgi?id=636695
Diffstat (limited to 'gtk/gtkcolorbutton.c')
-rw-r--r-- | gtk/gtkcolorbutton.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c index 661c5c6fc3..00bbc87729 100644 --- a/gtk/gtkcolorbutton.c +++ b/gtk/gtkcolorbutton.c @@ -197,6 +197,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass) * * Deprecated: 3.4: Use #GtkColorButton:rgba instead. */ +G_GNUC_BEGIN_IGNORE_DEPRECATIONS g_object_class_install_property (gobject_class, PROP_COLOR, g_param_spec_boxed ("color", @@ -204,6 +205,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass) P_("The selected color"), GDK_TYPE_COLOR, GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); +G_GNUC_END_IGNORE_DEPRECATIONS /** * GtkColorButton:alpha: |