CVSROOT: /sources/gnash Module name: gnash Changes by: Bastiaan Jacques <bjacques> 08/02/20 21:42:14
Modified files: gui : gtk.cpp Log message: Revert unintended part of last commit. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk.cpp?cvsroot=gnash&r1=1.149&r2=1.150 Patches: Index: gtk.cpp =================================================================== RCS file: /sources/gnash/gnash/gui/gtk.cpp,v retrieving revision 1.149 retrieving revision 1.150 diff -u -b -r1.149 -r1.150 --- gtk.cpp 20 Feb 2008 21:39:44 -0000 1.149 +++ gtk.cpp 20 Feb 2008 21:42:14 -0000 1.150 @@ -17,7 +17,7 @@ // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // -/* $Id: gtk.cpp,v 1.149 2008/02/20 21:39:44 bjacques Exp $ */ +/* $Id: gtk.cpp,v 1.150 2008/02/20 21:42:14 bjacques Exp $ */ #ifdef HAVE_CONFIG_H #include "gnashconfig.h" @@ -162,14 +162,6 @@ setupEvents(); gtk_widget_realize(_window); - gdk_window_set_events(_window->window, - GdkEventMask(GDK_EXPOSURE_MASK | GDK_VISIBILITY_NOTIFY_MASK)); - - GdkWindow* parent = gdk_window_get_parent(_window->window); - gdk_window_set_events(parent, - GdkEventMask(GDK_EXPOSURE_MASK | GDK_VISIBILITY_NOTIFY_MASK)); - - gtk_widget_show(_drawingArea); gtk_widget_show(_window); @@ -401,7 +393,7 @@ G_CALLBACK (realize_event), NULL); g_signal_connect(G_OBJECT (_drawingArea), "configure_event", G_CALLBACK (configure_event), this); - g_signal_connect(G_OBJECT (_window), "expose_event", + g_signal_connect(G_OBJECT (_drawingArea), "expose_event", G_CALLBACK (expose_event), this); return true; @@ -1624,7 +1616,7 @@ GdkEventExpose *const event, const gpointer data) { - GNASH_REPORT_FUNCTION; +// GNASH_REPORT_FUNCTION; GtkGui* gui = static_cast<GtkGui*>(data); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit