forked from AuroraMiddleware/gtk
Use the correct guards in gtk_accessible_set_widget()
Also, allow the widget variable to be NULL
This commit is contained in:
parent
bba451147b
commit
200896e9b9
@ -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