[gtk+] GtkColorButton: Update deprecation warnings



commit 69234cfecc05932c5fc4574818715ff593d80054
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri May 2 18:41:29 2014 -0400

    GtkColorButton: Update deprecation warnings
    
    It is not great to have deprecation warnings point to another
    deprecated function. Update them to point to the eventual
    replacement.

 gtk/gtkcolorbutton.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkcolorbutton.h b/gtk/gtkcolorbutton.h
index 85c627a..08b468d 100644
--- a/gtk/gtkcolorbutton.h
+++ b/gtk/gtkcolorbutton.h
@@ -85,16 +85,16 @@ const gchar *gtk_color_button_get_title     (GtkColorButton *button);
 
 GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_new_with_rgba)
 GtkWidget *gtk_color_button_new_with_color (const GdkColor *color);
-GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_set_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba)
 void       gtk_color_button_set_color      (GtkColorButton *button,
                                             const GdkColor *color);
-GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_get_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_rgba)
 void       gtk_color_button_get_color      (GtkColorButton *button,
                                             GdkColor       *color);
-GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_set_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba)
 void       gtk_color_button_set_alpha      (GtkColorButton *button,
                                             guint16         alpha);
-GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_get_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_rgba)
 guint16    gtk_color_button_get_alpha      (GtkColorButton *button);
 GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_use_alpha)
 void         gtk_color_button_set_use_alpha (GtkColorButton *button,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]