projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97fc1e1
)
Change true for TRUE
author
Tony
<exocoder@gmail.com>
Mon, 30 Sep 2013 20:04:43 +0000
(21:04 +0100)
committer
Tony
<exocoder@gmail.com>
Mon, 30 Sep 2013 20:04:43 +0000
(21:04 +0100)
The second parameter of gtk_widget_set_realized is of type gboolean
(gint). This is to ensure compatibility on alternative compilers and
platforms.
modules/highgui/src/window_gtk.cpp
patch
|
blob
|
history
diff --git
a/modules/highgui/src/window_gtk.cpp
b/modules/highgui/src/window_gtk.cpp
index
c467155
..
79ae638
100644
(file)
--- a/
modules/highgui/src/window_gtk.cpp
+++ b/
modules/highgui/src/window_gtk.cpp
@@
-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;