background test

parent 8775e876
Pipeline #62261 passed with stages
in 20 minutes and 46 seconds
......@@ -394,6 +394,8 @@ draw_cb (GtkWidget *widget, cairo_t *cr, gpointer unused)
GtkStyleContext *context = gtk_widget_get_style_context (widget);
GdkRGBA c;
g_return_val_if_fail (PHOSH_IS_POLKIT_AUTH_PROMPT (widget), FALSE);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_style_context_get_background_color (context, GTK_STATE_FLAG_NORMAL, &c);
G_GNUC_END_IGNORE_DEPRECATIONS
......
......@@ -532,6 +532,8 @@ draw_cb (GtkWidget *widget, cairo_t *cr, gpointer unused)
GtkStyleContext *context = gtk_widget_get_style_context (widget);
GdkRGBA c;
g_return_val_if_fail (PHOSH_IS_SYSTEM_PROMPT (widget), FALSE);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_style_context_get_background_color (context, GTK_STATE_FLAG_NORMAL, &c);
G_GNUC_END_IGNORE_DEPRECATIONS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment