[GTK] Add cast in call to g_object_add_weak_pointer in MiniBrowser
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Jan 2014 11:50:57 +0000 (11:50 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Jan 2014 11:50:57 +0000 (11:50 +0000)
commitaf87312989d40bbc9e5cacb5ce8ea7c8e26dd86e
tree0473335a26af9a7c8adace8a911d9c76b618de68
parent98b4f7fae570ef2a9ebda8ff82be501ab6b084cf
[GTK] Add cast in call to g_object_add_weak_pointer in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=126881

Patch by Adrian Perez de Castro <aperez@igalia.com> on 2014-01-13
Reviewed by Carlos Garcia Campos.

* MiniBrowser/gtk/BrowserWindow.c:
(browser_window_new):
Explicitly cast GtkWindow** to gpointer* in call to
g_object_add_weak_pointer to avoid compiler warnings.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/MiniBrowser/gtk/BrowserWindow.c