diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-04-01 05:42:14 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-04-06 08:59:44 +0800 |
commit | da7aacb87cd1d5d635f367928994c19af8c764f6 (patch) | |
tree | 388f68d35a953b38fea583c4030249d6f33a30f9 /capplet/settings/anjal-mail-view.c | |
parent | 8580bd4a42a98f0171e9524d69385c9868c7c07a (diff) | |
download | gsoc2013-evolution-da7aacb87cd1d5d635f367928994c19af8c764f6.tar.gz gsoc2013-evolution-da7aacb87cd1d5d635f367928994c19af8c764f6.tar.zst gsoc2013-evolution-da7aacb87cd1d5d635f367928994c19af8c764f6.zip |
Capplet cleanups.
Diffstat (limited to 'capplet/settings/anjal-mail-view.c')
-rw-r--r-- | capplet/settings/anjal-mail-view.c | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/capplet/settings/anjal-mail-view.c b/capplet/settings/anjal-mail-view.c index 5178b56422..99ff93a065 100644 --- a/capplet/settings/anjal-mail-view.c +++ b/capplet/settings/anjal-mail-view.c @@ -10,7 +10,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with the program; if not, see <http://www.gnu.org/licenses/> + * License along with the program; if not, see <http://www.gnu.org/licenses/> * * * Authors: @@ -31,13 +31,11 @@ #include "mail/mail-ops.h" #include "mail/em-folder-tree.h" - struct _AnjalMailViewPrivate { gboolean started; }; - G_DEFINE_TYPE (AnjalMailView, anjal_mail_view, GTK_TYPE_NOTEBOOK) static void @@ -52,31 +50,31 @@ anjal_mail_view_finalize (GObject *object) { AnjalMailView *shell = (AnjalMailView *)object; AnjalMailViewPrivate *priv = shell->priv; - + g_free (priv); - + G_OBJECT_CLASS (anjal_mail_view_parent_class)->finalize (object); } -static void +static void view_set_folder_uri (AnjalMailView *mail_view, const gchar *uri) { } -static void +static void view_set_folder_tree_widget (AnjalMailView *mail_view, GtkWidget *tree) { } -static void +static void view_set_folder_tree (AnjalMailView *mail_view, EMFolderTree *tree) { } -static void -view_set_search (AnjalMailView *mail_view, const char *search) +static void +view_set_search (AnjalMailView *mail_view, const gchar *search) { } -static void +static void view_init_search (AnjalMailView *mail_view, GtkWidget *search) { } @@ -95,17 +93,16 @@ anjal_mail_view_class_init (AnjalMailViewClass *klass) klass->init_search = view_init_search; }; - AnjalMailView * anjal_mail_view_new () { AnjalMailView *shell = g_object_new (ANJAL_MAIL_VIEW_TYPE, NULL); - + return shell; } -void -anjal_mail_view_set_folder_uri (AnjalMailView *mv, const char *uri) +void +anjal_mail_view_set_folder_uri (AnjalMailView *mv, const gchar *uri) { if (!mv || !uri) return; @@ -113,25 +110,25 @@ anjal_mail_view_set_folder_uri (AnjalMailView *mv, const char *uri) ANJAL_MAIL_VIEW_GET_CLASS(mv)->set_folder_uri (mv, uri); } -void +void anjal_mail_view_set_folder_tree_widget (AnjalMailView *mv, GtkWidget *tree) { ANJAL_MAIL_VIEW_GET_CLASS(mv)->set_folder_tree_widget (mv, tree); } -void +void anjal_mail_view_set_folder_tree (AnjalMailView *mv, GtkWidget *tree) { ANJAL_MAIL_VIEW_GET_CLASS(mv)->set_folder_tree (mv, (EMFolderTree *)tree); } -void -anjal_mail_view_set_search (AnjalMailView *view, const char *search) +void +anjal_mail_view_set_search (AnjalMailView *view, const gchar *search) { ANJAL_MAIL_VIEW_GET_CLASS(view)->set_search (view, search); } -void +void anjal_mail_view_init_search (AnjalMailView *mv, GtkWidget *search) { ANJAL_MAIL_VIEW_GET_CLASS(mv)->init_search (mv, search); |