Use the right type when calling GtkWidget methods

Let's avoid complaints from the compiler.
This commit is contained in:
Emmanuele Bassi 2022-12-06 21:49:22 +00:00
parent 03afe9be4e
commit a3e82f20a1

View File

@ -4232,7 +4232,7 @@ gtk_label_style_updated (GtkWidget *widget)
if (change == NULL || gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_FONT)) if (change == NULL || gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_FONT))
{ {
gtk_label_clear_layout (GTK_LABEL (widget)); gtk_label_clear_layout (GTK_LABEL (widget));
gtk_widget_queue_resize (label); gtk_widget_queue_resize (widget);
} }
if (change == NULL || gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_TEXT_ATTRS) || if (change == NULL || gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_TEXT_ATTRS) ||