[poppler] glib/demo
Adrian Johnson
ajohnson at kemper.freedesktop.org
Mon Nov 13 19:50:36 UTC 2017
glib/demo/selections.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 19909998a2f1f703c9978510ae1fc3baed84de31
Author: Adrian Johnson <ajohnson at redneon.com>
Date: Sat Nov 11 05:38:25 2017 +1030
glib demo: fix warning
diff --git a/glib/demo/selections.c b/glib/demo/selections.c
index dc6c672f..eff099e2 100644
--- a/glib/demo/selections.c
+++ b/glib/demo/selections.c
@@ -337,7 +337,7 @@ pgd_selections_drawing_area_realize (GtkWidget *area,
gtk_style_context_get_color (style_context, GTK_STATE_FLAG_SELECTED, &rgba);
gtk_color_chooser_set_rgba (GTK_COLOR_CHOOSER (demo->fg_color_button), &rgba);
- gtk_style_context_get_background_color (style_context, GTK_STATE_FLAG_SELECTED, &rgba);
+ gtk_style_context_get (style_context, GTK_STATE_FLAG_SELECTED, "background-color", &rgba, NULL);
gtk_color_chooser_set_rgba (GTK_COLOR_CHOOSER (demo->bg_color_button), &rgba);
}
More information about the poppler
mailing list