Mercurial > pidgin
comparison finch/libgnt/gntbox.c @ 28342:65e8c39cc5f6
Leak fix.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 08 Oct 2009 17:41:41 +0000 |
parents | c67d43408daa |
children | a18f421696dc |
comparison
equal
deleted
inserted
replaced
28341:caef0d8dcb04 | 28342:65e8c39cc5f6 |
---|---|
685 /* Erase the old title */ | 685 /* Erase the old title */ |
686 int pos, right; | 686 int pos, right; |
687 get_title_thingies(b, prev, &pos, &right); | 687 get_title_thingies(b, prev, &pos, &right); |
688 mvwhline(w->window, 0, pos - 1, ACS_HLINE | gnt_color_pair(GNT_COLOR_NORMAL), | 688 mvwhline(w->window, 0, pos - 1, ACS_HLINE | gnt_color_pair(GNT_COLOR_NORMAL), |
689 right - pos + 2); | 689 right - pos + 2); |
690 g_free(prev); | 690 } |
691 } | 691 g_free(prev); |
692 } | 692 } |
693 | 693 |
694 void gnt_box_set_pad(GntBox *box, int pad) | 694 void gnt_box_set_pad(GntBox *box, int pad) |
695 { | 695 { |
696 box->pad = pad; | 696 box->pad = pad; |