forked from AuroraMiddleware/gtk
[gtkaccessible] Use the correct guards in gtk_accessible_set_widget()
Also, allow the widget variable to be NULL
This commit is contained in:
parent
adf1bbe28a
commit
3c46d9acbc
@ -60,8 +60,7 @@ void
|
||||
gtk_accessible_set_widget (GtkAccessible *accessible,
|
||||
GtkWidget *widget)
|
||||
{
|
||||
g_return_val_if_fail (GTK_IS_ACCESSIBLE (accessible), NULL);
|
||||
g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
|
||||
g_return_if_fail (GTK_IS_ACCESSIBLE (accessible));
|
||||
|
||||
accessible->widget = widget;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user