select_account_once_ready: free the account and ID to avoid leaks
[empathy-mirror.git] / src / empathy-main-window.h
blob38879fb29028bb1a94636259b7844b45d2c27be5
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * Copyright (C) 2002-2007 Imendio AB
4 * Copyright (C) 2007-2008 Collabora Ltd.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public
17 * License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
19 * Boston, MA 02110-1301 USA
21 * Authors: Xavier Claessens <xclaesse@gmail.com>
22 * Danielle Madeley <danielle.madeley@collabora.co.uk>
25 #ifndef __EMPATHY_MAIN_WINDOW_H__
26 #define __EMPATHY_MAIN_WINDOW_H__
28 #include <gtk/gtk.h>
30 G_BEGIN_DECLS
32 #define EMPATHY_TYPE_MAIN_WINDOW (empathy_main_window_get_type ())
33 #define EMPATHY_MAIN_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_MAIN_WINDOW, EmpathyMainWindow))
34 #define EMPATHY_MAIN_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EMPATHY_TYPE_MAIN_WINDOW, EmpathyMainWindowClass))
35 #define EMPATHY_IS_MAIN_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_MAIN_WINDOW))
36 #define EMPATHY_IS_MAIN_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_MAIN_WINDOW))
37 #define EMPATHY_MAIN_WINDOW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_MAIN_WINDOW, EmpathyMainWindowClass))
39 typedef struct _EmpathyMainWindow EmpathyMainWindow;
40 typedef struct _EmpathyMainWindowClass EmpathyMainWindowClass;
41 typedef struct _EmpathyMainWindowPriv EmpathyMainWindowPriv;
43 struct _EmpathyMainWindow {
44 GtkWindow parent;
45 gpointer priv;
48 struct _EmpathyMainWindowClass {
49 GtkWindowClass parent_class;
52 GType empathy_main_window_get_type (void);
54 GtkWidget *empathy_main_window_dup (void);
56 G_END_DECLS
58 #endif /* __EMPATHY_MAIN_WINDOW_H__ */