From 7ffef14130b8f8e16031338aca4fcfb174d46075 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Mon, 4 Jan 2010 22:48:48 -0200 Subject: Fix all compilation warnings (now being treated as errors). --- hardinfo2/markdown-text-view.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'hardinfo2/markdown-text-view.c') diff --git a/hardinfo2/markdown-text-view.c b/hardinfo2/markdown-text-view.c index 44a5998d..6bfcc131 100644 --- a/hardinfo2/markdown-text-view.c +++ b/hardinfo2/markdown-text-view.c @@ -22,6 +22,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include #include #include "markdown-text-view.h" @@ -29,8 +30,6 @@ static GdkCursor *hand_cursor = NULL; -static void markdown_textview_finalize(GObject * object); - G_DEFINE_TYPE(MarkdownTextView, markdown_textview, GTK_TYPE_TEXT_VIEW); enum { @@ -636,12 +635,3 @@ static void markdown_textview_init(MarkdownTextView * self) G_CALLBACK(visibility_notify_event), NULL); } -static void markdown_textview_finalize(GObject * object) -{ - MarkdownTextView *self; - - g_return_if_fail(IS_MARKDOWN_TEXTVIEW(object)); - - self = MARKDOWN_TEXTVIEW(object); - g_object_unref(self->markdown); -} -- cgit v1.2.3