select_account_once_ready: free the account and ID to avoid leaks
[empathy-mirror.git] / src / empathy-import-dialog.h
blob0e9d225c4c163114b80f12763401dcdf7555e9bd
1 /*
2 * Copyright (C) 2008-2009 Collabora Ltd.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of the
7 * License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public
15 * License along with this program; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
17 * Boston, MA 02110-1301 USA
19 * Authors: Jonny Lamb <jonny.lamb@collabora.co.uk>
20 * Cosimo Cecchi <cosimo.cecchi@collabora.co.uk>
23 #include <gtk/gtk.h>
25 #ifndef __EMPATHY_IMPORT_DIALOG_H__
26 #define __EMPATHY_IMPORT_DIALOG_H__
28 G_BEGIN_DECLS
30 #define EMPATHY_TYPE_IMPORT_DIALOG empathy_import_dialog_get_type()
31 #define EMPATHY_IMPORT_DIALOG(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_IMPORT_DIALOG,\
33 EmpathyImportDialog))
34 #define EMPATHY_IMPORT_DIALOG_CLASS(klass) \
35 (G_TYPE_CHECK_CLASS_CAST ((klass), EMPATHY_TYPE_IMPORT_DIALOG,\
36 EmpathyImportDialogClass))
37 #define EMPATHY_IS_IMPORT_DIALOG(obj) \
38 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_IMPORT_DIALOG))
39 #define EMPATHY_IS_IMPORT_DIALOG_CLASS(klass) \
40 (G_TYPE_CHECK_CLASS_TYPE ((klass), EMPATHY_TYPE_IMPORT_DIALOG))
41 #define EMPATHY_IMPORT_DIALOG_GET_CLASS(obj) \
42 (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_IMPORT_DIALOG,\
43 EmpathyImportDialogClass))
45 typedef struct {
46 GtkDialog parent;
48 /* private */
49 gpointer priv;
50 } EmpathyImportDialog;
52 typedef struct {
53 GtkDialogClass parent_class;
54 } EmpathyImportDialogClass;
56 GType empathy_import_dialog_get_type (void);
58 GtkWidget* empathy_import_dialog_new (GtkWindow *parent_window,
59 gboolean show_warning);
61 G_END_DECLS
63 #endif /* __EMPATHY_IMPORT_DIALOG_H__ */