[libadwaita] widget-utils: Update gtk_widget_get_style_color() name



commit 8a02d4c09c77833c11e3ccf0469e13fcc01e44b8
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Oct 19 21:41:53 2022 +0400

    widget-utils: Update gtk_widget_get_style_color() name
    
    It got renamed into get_color().

 src/adw-widget-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/adw-widget-utils.c b/src/adw-widget-utils.c
index 1b4b57d5..160650d3 100644
--- a/src/adw-widget-utils.c
+++ b/src/adw-widget-utils.c
@@ -549,7 +549,7 @@ adw_widget_get_style_color (GtkWidget *widget,
                             GdkRGBA   *rgba)
 {
 #if GTK_CHECK_VERSION (4, 9, 1)
-  gtk_widget_get_style_color (widget, rgba);
+  gtk_widget_get_color (widget, rgba);
 #else
   GtkStyleContext *context = gtk_widget_get_style_context (widget);
 


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