Mercurial > pidgin.yaz
diff pidgin/gtkwhiteboard.c @ 26705:a3f7ade9e45b
Use g_object_ref/unref instead of the deprecated versions.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 18 Apr 2009 07:31:32 +0000 |
parents | 584063555949 |
children | 58c8d6fc3aaf |
line wrap: on
line diff
--- a/pidgin/gtkwhiteboard.c Sat Apr 18 07:00:20 2009 +0000 +++ b/pidgin/gtkwhiteboard.c Sat Apr 18 07:31:32 2009 +0000 @@ -624,7 +624,7 @@ update_rect.x, update_rect.y, update_rect.width, update_rect.height); - gdk_gc_unref(gfx_con); + g_object_unref(G_OBJECT(gfx_con)); } /* Uses Bresenham's algorithm (as provided by Wikipedia) */