mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
Change true for TRUE
The second parameter of gtk_widget_set_realized is of type gboolean (gint). This is to ensure compatibility on alternative compilers and platforms.
This commit is contained in:
parent
97fc1e10a7
commit
0d06b1dced
@ -154,7 +154,7 @@ cvImageWidget_realize (GtkWidget *widget)
|
||||
g_return_if_fail (widget != NULL);
|
||||
g_return_if_fail (CV_IS_IMAGE_WIDGET (widget));
|
||||
|
||||
gtk_widget_set_realized(widget, true);
|
||||
gtk_widget_set_realized(widget, TRUE);
|
||||
|
||||
attributes.x = widget->allocation.x;
|
||||
attributes.y = widget->allocation.y;
|
||||
|
Loading…
Reference in New Issue
Block a user