summaryrefslogtreecommitdiff
path: root/tp-gtk-contact-selector.h
blob: 228a03ff256ec4200f4882de4a802a22a884101d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * tp-gtk-contact-selector.h
 *
 * TpGtkContactSelector
 *
 * (c) 2009, Collabora Ltd.
 *
 * Authors:
 *    Danielle Madeley <danielle.madeley@collabora.co.uk>
 */

#ifndef __TP_GTK_CONTACT_SELECTOR_H__
#define __TP_GTK_CONTACT_SELECTOR_H__

#include <gtk/gtk.h>

G_BEGIN_DECLS

#define TP_GTK_TYPE_CONTACT_SELECTOR	(tp_gtk_contact_selector_get_type ())
#define TP_GTK_CONTACT_SELECTOR(obj)	(G_TYPE_CHECK_INSTANCE_CAST ((obj), TP_GTK_TYPE_CONTACT_SELECTOR, TpGtkContactSelector))
#define TP_GTK_CONTACT_SELECTOR_CLASS(obj)	(G_TYPE_CHECK_CLASS_CAST ((obj), TP_GTK_TYPE_CONTACT_SELECTOR, TpGtkContactSelectorClass))
#define TP_GTK_IS_CONTACT_SELECTOR(obj)	(G_TYPE_CHECK_INSTANCE_TYPE ((obj), TP_GTK_TYPE_CONTACT_SELECTOR))
#define TP_GTK_IS_CONTACT_SELECTOR_CLASS(obj)	(G_TYPE_CHECK_CLASS_TYPE ((obj), TP_GTK_TYPE_CONTACT_SELECTOR))
#define TP_GTK_CONTACT_SELECTOR_GET_CLASS(obj)	(G_TYPE_INSTANCE_GET_CLASS ((obj), TP_GTK_TYPE_CONTACT_SELECTOR, TpGtkContactSelectorClass))

typedef struct _TpGtkContactSelector TpGtkContactSelector;
typedef struct _TpGtkContactSelectorClass TpGtkContactSelectorClass;

struct _TpGtkContactSelector
{
  GtkComboBoxEntry parent;
};

struct _TpGtkContactSelectorClass
{
  GtkComboBoxEntryClass parent_class;
};

GType tp_gtk_contact_selector_get_type (void);
GtkWidget *tp_gtk_contact_selector_new (GtkTreeModel *model);

G_END_DECLS

#endif