Mercurial > pidgin.yaz
comparison finch/libgnt/gntfilesel.c @ 21161:e119edfc0fb0
applied changes from 172a59b41412c4630834d66f2e7ec3be970cc36b
through 365b126365cc18309aea7f8eef0e9b2a19e6bda8
And others.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 07 Nov 2007 14:07:52 +0000 |
parents | 07c2e60026da |
children | 6de09629f091 |
comparison
equal
deleted
inserted
replaced
21160:45e550db32ab | 21161:e119edfc0fb0 |
---|---|
717 return sel->dirsonly; | 717 return sel->dirsonly; |
718 } | 718 } |
719 | 719 |
720 void gnt_file_sel_set_suggested_filename(GntFileSel *sel, const char *suggest) | 720 void gnt_file_sel_set_suggested_filename(GntFileSel *sel, const char *suggest) |
721 { | 721 { |
722 g_free(sel->suggest); | |
722 sel->suggest = g_strdup(suggest); | 723 sel->suggest = g_strdup(suggest); |
723 } | 724 } |
724 | 725 |
725 char *gnt_file_sel_get_selected_file(GntFileSel *sel) | 726 char *gnt_file_sel_get_selected_file(GntFileSel *sel) |
726 { | 727 { |