~ubuntu-branches/ubuntu/trusty/gnome-contacts/trusty

« back to all changes in this revision

Viewing changes to src/gtk-notification.h

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Jeremy Bicha, Michael Biebl
  • Date: 2013-09-19 18:23:06 UTC
  • mfrom: (1.3.10) (0.3.4 experimental)
  • mto: This revision was merged to the branch mainline in revision 40.
  • Revision ID: package-import@ubuntu.com-20130919182306-rcatwotzg94pr884
Tags: 3.8.3-1
[ Jeremy Bicha ]
* debian/control.in:
  - Drop alternate build-depends on valac-0.18 since it's no longer
    in Debian

[ Michael Biebl ]
* New upstream release.
* Loosen Build-Depends on libgnome-desktop-3-dev, we do not strictly require
  version (>= 3.6.0) which is not yet available in unstable.
* Bump Standards-Version to 3.9.4. No further changes.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2
 
/*
3
 
 * gtk-notification.c
4
 
 * Copyright (C) Erick Pérez Castellanos 2011 <erick.red@gmail.com>
5
 
 *
6
 
 gtk-notification.c is free software: you can redistribute it and/or modify it
7
 
 * under the terms of the GNU Lesser General Public License as published
8
 
 * by the Free Software Foundation, either version 3 of the License, or
9
 
 * (at your option) any later version.
10
 
 *
11
 
 * gtk-notification.c is distributed in the hope that it will be useful, but
12
 
 * WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
 
 * See the GNU Lesser General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU Lesser General Public License
17
 
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.";
18
 
 */
19
 
 
20
 
#ifndef _GTK_NOTIFICATION_H_
21
 
#define _GTK_NOTIFICATION_H_
22
 
 
23
 
#include <gtk/gtk.h>
24
 
 
25
 
G_BEGIN_DECLS
26
 
 
27
 
#define GTK_TYPE_NOTIFICATION             (gtk_notification_get_type ())
28
 
#define GTK_NOTIFICATION(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_NOTIFICATION, GtkNotification))
29
 
#define GTK_NOTIFICATION_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_NOTIFICATION, GtkNotificationClass))
30
 
#define GTK_IS_NOTIFICATION(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_NOTIFICATION))
31
 
#define GTK_IS_NOTIFICATION_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_NOTIFICATION))
32
 
#define GTK_NOTIFICATION_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_NOTIFICATION, GtkNotificationClass))
33
 
 
34
 
typedef struct _GtkNotificationPrivate GtkNotificationPrivate;
35
 
typedef struct _GtkNotificationClass GtkNotificationClass;
36
 
typedef struct _GtkNotification GtkNotification;
37
 
 
38
 
struct _GtkNotificationClass {
39
 
  GtkBinClass parent_class;
40
 
 
41
 
  /* Signals */
42
 
  void (*dismissed) (GtkNotification *self);
43
 
};
44
 
 
45
 
struct _GtkNotification {
46
 
  GtkBin parent_instance;
47
 
 
48
 
  /*< private > */
49
 
  GtkNotificationPrivate *priv;
50
 
};
51
 
 
52
 
GType gtk_notification_get_type (void) G_GNUC_CONST;
53
 
 
54
 
GtkWidget *gtk_notification_new         (void);
55
 
void       gtk_notification_set_timeout (GtkNotification *notification,
56
 
                                         guint            timeout_msec);
57
 
void       gtk_notification_dismiss     (GtkNotification *notification);
58
 
 
59
 
G_END_DECLS
60
 
 
61
 
#endif /* _GTK_NOTIFICATION_H_ */