~ubuntu-branches/ubuntu/trusty/gcr/trusty-proposed

« back to all changes in this revision

Viewing changes to gcr/gcr-display-scrolled.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach
  • Date: 2012-05-03 10:18:39 UTC
  • Revision ID: package-import@ubuntu.com-20120503101839-wuvloldm7gmdsnij
Tags: upstream-3.4.1
ImportĀ upstreamĀ versionĀ 3.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2011 Collabora Ltd.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU Lesser General Public License as
 
6
 * published by the Free Software Foundation; either version 2.1 of
 
7
 * the License, or (at your option) any later version.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful, but
 
10
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
 * Lesser General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU Lesser General Public
 
15
 * License along with this program; if not, write to the Free Software
 
16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
17
 * 02111-1307, USA.
 
18
 *
 
19
 * Author: Stef Walter <stefw@collabora.co.uk>
 
20
 */
 
21
 
 
22
#ifndef __GCR_DISPLAY_SCROLLED_H__
 
23
#define __GCR_DISPLAY_SCROLLED_H__
 
24
 
 
25
#include <glib-object.h>
 
26
#include <gtk/gtk.h>
 
27
 
 
28
G_BEGIN_DECLS
 
29
 
 
30
#define GCR_TYPE_DISPLAY_SCROLLED               (_gcr_display_scrolled_get_type ())
 
31
#define GCR_DISPLAY_SCROLLED(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_DISPLAY_SCROLLED, GcrDisplayScrolled))
 
32
#define GCR_DISPLAY_SCROLLED_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_DISPLAY_SCROLLED, GcrDisplayScrolledClass))
 
33
#define GCR_IS_DISPLAY_SCROLLED(obj)            (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCR_TYPE_DISPLAY_SCROLLED))
 
34
#define GCR_IS_DISPLAY_SCROLLED_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GCR_TYPE_DISPLAY_SCROLLED))
 
35
#define GCR_DISPLAY_SCROLLED_GET_CLASS(obj)     (G_TYPE_INSTANCE_GET_CLASS ((obj), GCR_TYPE_DISPLAY_SCROLLED, GcrDisplayScrolledClass))
 
36
 
 
37
typedef struct _GcrDisplayScrolled GcrDisplayScrolled;
 
38
typedef struct _GcrDisplayScrolledClass GcrDisplayScrolledClass;
 
39
typedef struct _GcrDisplayScrolledPrivate GcrDisplayScrolledPrivate;
 
40
 
 
41
struct _GcrDisplayScrolled {
 
42
        /*< private >*/
 
43
        GtkScrolledWindow parent;
 
44
        GcrDisplayScrolledPrivate *pv;
 
45
};
 
46
 
 
47
struct _GcrDisplayScrolledClass {
 
48
        GtkScrolledWindowClass parent_class;
 
49
};
 
50
 
 
51
GType                _gcr_display_scrolled_get_type                    (void);
 
52
 
 
53
GcrDisplayScrolled*  _gcr_display_scrolled_new                         (void);
 
54
 
 
55
G_END_DECLS
 
56
 
 
57
#endif /* __GCR_DISPLAY_SCROLLED_H__ */