diff console/libgnt/gntbox.c @ 13888:9d66969a2e32

[gaim-migrate @ 16369] Get rid of a whole lot of compile warnings. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 28 Jun 2006 19:12:38 +0000
parents 5c750626eaa5
children a621329e8c85
line wrap: on
line diff
--- a/console/libgnt/gntbox.c	Wed Jun 28 18:50:33 2006 +0000
+++ b/console/libgnt/gntbox.c	Wed Jun 28 19:12:38 2006 +0000
@@ -1,5 +1,7 @@
 #include "gntbox.h"
 
+#include <string.h>
+
 enum
 {
 	SIGS = 1,
@@ -238,7 +240,6 @@
 static void
 gnt_box_lost_focus(GntWidget *widget)
 {
-	GntBox *box = GNT_BOX(widget);
 	GntWidget *p = widget;
 
 	while (p->parent)
@@ -277,8 +278,6 @@
 static void
 gnt_box_class_init(GntBoxClass *klass)
 {
-	GObjectClass *obj_class = G_OBJECT_CLASS(klass);
-
 	parent_class = GNT_WIDGET_CLASS(klass);
 	parent_class->destroy = gnt_box_destroy;
 	parent_class->draw = gnt_box_draw;