Linux: Fix g_signal_handlers_disconnect_by_data compile error.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1296 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
13af477401
commit
9a3d78fc54
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
#include <gdk/gdk.h>
|
#include <gdk/gdk.h>
|
||||||
#include <gdk/gdkkeysyms.h>
|
#include <gdk/gdkkeysyms.h>
|
||||||
|
#include <glib-object.h>
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include <gtk/gtkgl.h>
|
#include <gtk/gtkgl.h>
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
|
@ -258,7 +259,8 @@ CefRefPtr<OSRWindow> OSRWindow::From(
|
||||||
|
|
||||||
void OSRWindow::OnBeforeClose(CefRefPtr<CefBrowser> browser) {
|
void OSRWindow::OnBeforeClose(CefRefPtr<CefBrowser> browser) {
|
||||||
// Disconnect all signal handlers that reference |this|.
|
// 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();
|
DisableGL();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue