mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Avoid a compiler warning
This commit is contained in:
parent
a3d0b8d7f4
commit
2036c150ea
@ -274,7 +274,7 @@ update_from_editor (GtkColorEditor *editor,
|
||||
GParamSpec *pspec,
|
||||
GtkColorChooserWidget *widget)
|
||||
{
|
||||
if (gtk_widget_get_visible (editor))
|
||||
if (gtk_widget_get_visible (GTK_WIDGET (editor)))
|
||||
g_object_notify (G_OBJECT (widget), "rgba");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user