diff pidgin/plugins/markerline.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 ea62e934c80b
children 4458f98f42ba
line wrap: on
line diff
--- a/pidgin/plugins/markerline.c	Sat Apr 18 07:00:20 2009 +0000
+++ b/pidgin/plugins/markerline.c	Sat Apr 18 07:31:32 2009 +0000
@@ -84,7 +84,7 @@
 		gdk_gc_set_rgb_fg_color(gc, &red);
 		gdk_draw_line(event->window, gc,
 					0, y, visible_rect.width, y);
-		gdk_gc_unref(gc);
+		g_object_unref(G_OBJECT(gc));
 	}
 	return FALSE;
 }