Merge branch 'gnome-3-6'
[empathy-mirror.git] / libempathy-gtk / empathy-bad-password-dialog.h
blob5cf1c71c4a6d3760574b132c094457df1c57c238
1 /*
2 * empathy-bad-password-dialog.h - Header for EmpathyBadPasswordDialog
3 * Copyright (C) 2010 Collabora Ltd.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 #ifndef __EMPATHY_BAD_PASSWORD_DIALOG_H__
21 #define __EMPATHY_BAD_PASSWORD_DIALOG_H__
23 #include <glib-object.h>
24 #include <gtk/gtk.h>
26 #include <libempathy-gtk/empathy-base-password-dialog.h>
28 #include <extensions/extensions.h>
30 G_BEGIN_DECLS
32 typedef struct _EmpathyBadPasswordDialog EmpathyBadPasswordDialog;
33 typedef struct _EmpathyBadPasswordDialogClass EmpathyBadPasswordDialogClass;
34 typedef struct _EmpathyBadPasswordDialogPriv EmpathyBadPasswordDialogPriv;
36 struct _EmpathyBadPasswordDialogClass {
37 EmpathyBasePasswordDialogClass parent_class;
40 struct _EmpathyBadPasswordDialog {
41 EmpathyBasePasswordDialog parent;
42 EmpathyBadPasswordDialogPriv *priv;
45 GType empathy_bad_password_dialog_get_type (void);
47 #define EMPATHY_TYPE_BAD_PASSWORD_DIALOG \
48 (empathy_bad_password_dialog_get_type ())
49 #define EMPATHY_BAD_PASSWORD_DIALOG(obj) \
50 (G_TYPE_CHECK_INSTANCE_CAST((obj), EMPATHY_TYPE_BAD_PASSWORD_DIALOG, \
51 EmpathyBadPasswordDialog))
52 #define EMPATHY_BAD_PASSWORD_DIALOG_CLASS(klass) \
53 (G_TYPE_CHECK_CLASS_CAST((klass), EMPATHY_TYPE_BAD_PASSWORD_DIALOG, \
54 EmpathyBadPasswordDialogClass))
55 #define EMPATHY_IS_BAD_PASSWORD_DIALOG(obj) \
56 (G_TYPE_CHECK_INSTANCE_TYPE((obj), EMPATHY_TYPE_BAD_PASSWORD_DIALOG))
57 #define EMPATHY_IS_BAD_PASSWORD_DIALOG_CLASS(klass) \
58 (G_TYPE_CHECK_CLASS_TYPE((klass), EMPATHY_TYPE_BAD_PASSWORD_DIALOG))
59 #define EMPATHY_BAD_PASSWORD_DIALOG_GET_CLASS(obj) \
60 (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_BAD_PASSWORD_DIALOG, \
61 EmpathyBadPasswordDialogClass))
63 GtkWidget * empathy_bad_password_dialog_new (TpAccount *account,
64 const gchar *password);
66 G_END_DECLS
68 #endif /* #ifndef __EMPATHY_BAD_PASSWORD_DIALOG_H__*/