Hello Bastiaan,

+void
+GtkAggGlue::prepDrawingArea(GtkWidget *drawing_area)
+{
+    _drawing_area = drawing_area;
+
+    gtk_widget_get_size_request(_drawing_area, &_width, &_height);
+
+    _width   = (_width == -1) ? 0 : _width;
+    _height  = (_height == -1) ? 0 : _height;

How can _width and _height ever be -1 if you set them to zero in init() and you check that they are greater than zero in setRenderHandlerSize()?

actually this is useless and a leftover from my previous code. I removed it with my last commit.


Hannes



_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to