Avoid a compiler warning

This commit is contained in:
Matthias Clasen 2014-05-22 06:29:24 -04:00
parent a3d0b8d7f4
commit 2036c150ea

View File

@ -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");
}