Mercurial > pidgin.yaz
changeset 19802:883627d89e4e
Making it compile...
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Tue, 24 Jul 2007 19:58:50 +0000 |
parents | 98d31cc920c8 |
children | 5b6bd360f9d9 |
files | pidgin/gtkutils.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkutils.c Tue Jul 24 19:57:16 2007 +0000 +++ b/pidgin/gtkutils.c Tue Jul 24 19:58:50 2007 +0000 @@ -86,12 +86,12 @@ g_return_if_fail(GTK_IS_WINDOW(toplevel)); if (toplevel) { - g_object_weak_unref(G_OBJECT(toplevel), toplevel_weak_notify, NULL); + g_object_weak_unref(G_OBJECT(toplevel), (GWeakNotify)toplevel_weak_notify, NULL); toplevel = NULL; } - if (new_topleve) { - g_object_weak_ref(G_OBJECT(new_toplevel), toplevel_weak_notify, NULL); + if (new_toplevel) { + g_object_weak_ref(G_OBJECT(new_toplevel), (GWeakNotify)toplevel_weak_notify, NULL); toplevel = new_toplevel; } }