Merge revision 1296 changes:

- Linux: Fix g_signal_handlers_disconnect_by_data compile error.

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1453@1297 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2013-06-28 16:01:11 +00:00
parent d4a37330b8
commit 6d29c3ae5c

View File

@ -10,6 +10,7 @@
#include <gdk/gdk.h>
#include <gdk/gdkkeysyms.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <gtk/gtkgl.h>
#include <GL/gl.h>
@ -258,7 +259,8 @@ CefRefPtr<OSRWindow> OSRWindow::From(
void OSRWindow::OnBeforeClose(CefRefPtr<CefBrowser> browser) {
// Disconnect all signal handlers that reference |this|.
g_signal_handlers_disconnect_by_data(glarea_, this);
g_signal_handlers_disconnect_matched(glarea_, G_SIGNAL_MATCH_DATA, 0, 0,
NULL, NULL, this);
DisableGL();
}