comparison 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
comparison
equal deleted inserted replaced
13887:7d3256b253ec 13888:9d66969a2e32
1 #include "gntbox.h" 1 #include "gntbox.h"
2
3 #include <string.h>
2 4
3 enum 5 enum
4 { 6 {
5 SIGS = 1, 7 SIGS = 1,
6 }; 8 };
236 } 238 }
237 239
238 static void 240 static void
239 gnt_box_lost_focus(GntWidget *widget) 241 gnt_box_lost_focus(GntWidget *widget)
240 { 242 {
241 GntBox *box = GNT_BOX(widget);
242 GntWidget *p = widget; 243 GntWidget *p = widget;
243 244
244 while (p->parent) 245 while (p->parent)
245 p = p->parent; 246 p = p->parent;
246 247
275 } 276 }
276 277
277 static void 278 static void
278 gnt_box_class_init(GntBoxClass *klass) 279 gnt_box_class_init(GntBoxClass *klass)
279 { 280 {
280 GObjectClass *obj_class = G_OBJECT_CLASS(klass);
281
282 parent_class = GNT_WIDGET_CLASS(klass); 281 parent_class = GNT_WIDGET_CLASS(klass);
283 parent_class->destroy = gnt_box_destroy; 282 parent_class->destroy = gnt_box_destroy;
284 parent_class->draw = gnt_box_draw; 283 parent_class->draw = gnt_box_draw;
285 parent_class->expose = gnt_box_expose; 284 parent_class->expose = gnt_box_expose;
286 parent_class->map = gnt_box_map; 285 parent_class->map = gnt_box_map;