~ubuntu-branches/ubuntu/precise/gnome-keyring/precise

« back to all changes in this revision

Viewing changes to gcr/gcr-combo-selector.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson, Chris Coulson, Mathieu Trudel-Lapierre
  • Date: 2011-08-10 12:29:33 UTC
  • mfrom: (1.1.70 upstream)
  • Revision ID: james.westby@ubuntu.com-20110810122933-0ezu9rqbnw956vwn
Tags: 3.1.4-0ubuntu1
[ Chris Coulson ]
* New upstream release
* Drop the multi-flavor (gtk2/gtk3) build - the new version supports
  only gtk3
  - update debian/rules
  - bump debian/compat to 7, else we need to add debian/tmp back to all
    the install files so that dh_install can find them (or continue to
    specify DEB_DH_INSTALL_SOURCEDIR in debian/rules)
  - Drop libgcr1 and libgcr-dev from debian/control.in
  - Remove debian/libgcr1.install and debian/libgcr-dev.install
  - Drop the libgtk2.0-dev build-depend
* Update for the libgck -> libgck-1 soname change
  - update debian/control
  - rename debian/libgck0.install => debian/libgck-1-0.install
  - update debian/libgck-1-0.install
  - rename debian/libgck0.symbols => debian/libgck-1-0.symbols
  - update debian/libgck-1-0.symbols
  - rename debian/libgck-dev.install => debian/libgck-1-dev.install
  - update debian/libgck-1-dev.install
* Update symbols for libgcr-3. Note that upstream removed some symbols
  without bumping the soname (in addition to adding symbols). However,
  these aren't actually used anywhere, and they have only ever existed
  in the current unstable series so we just ignore this for now :/
  - update debian/libgcr-3-1.symbols
* Drop debian/patches/05_onlyshowin_unity.patch - fixed upstream
* Add build-depend on libp11-kit-dev
* Install the contents of /usr/share/icons and /etc/pkcs11
  - update debian/gnome-keyring.install
* Revert an unintentional change of the libgcr soname to an older version
  - add debian/patches/05_revert_gcr_soname_bump.patch
  - update debian/patches/series

[ Mathieu Trudel-Lapierre ]
* debian/patches/99git_fs_caps_11a5d41.patch,
  debian/patches/99git_ipc_lock_caps_ad67edd.patch: dropped, included in
  release upstream tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * gnome-keyring
 
3
 *
 
4
 * Copyright (C) 2010 Stefan Walter
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU Lesser General Public License as
 
8
 * published by the Free Software Foundation; either version 2.1 of
 
9
 * the License, or (at your option) any later version.
 
10
 *
 
11
 * This program 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.  See the GNU
 
14
 * Lesser General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU Lesser General Public
 
17
 * License along with this program; if not, write to the Free Software
 
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
19
 * 02111-1307, USA.
 
20
 */
 
21
 
 
22
#ifndef __GCR_COMBO_SELECTOR_H__
 
23
#define __GCR_COMBO_SELECTOR_H__
 
24
 
 
25
#include "gcr-types.h"
 
26
 
 
27
#include <gtk/gtk.h>
 
28
 
 
29
G_BEGIN_DECLS
 
30
 
 
31
#define GCR_TYPE_COMBO_SELECTOR               (gcr_combo_selector_get_type ())
 
32
#define GCR_COMBO_SELECTOR(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCR_TYPE_COMBO_SELECTOR, GcrComboSelector))
 
33
#define GCR_COMBO_SELECTOR_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), GCR_TYPE_COMBO_SELECTOR, GcrComboSelectorClass))
 
34
#define GCR_IS_COMBO_SELECTOR(obj)            (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCR_TYPE_COMBO_SELECTOR))
 
35
#define GCR_IS_COMBO_SELECTOR_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GCR_TYPE_COMBO_SELECTOR))
 
36
#define GCR_COMBO_SELECTOR_GET_CLASS(obj)     (G_TYPE_INSTANCE_GET_CLASS ((obj), GCR_TYPE_COMBO_SELECTOR, GcrComboSelectorClass))
 
37
 
 
38
typedef struct _GcrComboSelector GcrComboSelector;
 
39
typedef struct _GcrComboSelectorClass GcrComboSelectorClass;
 
40
typedef struct _GcrComboSelectorPrivate GcrComboSelectorPrivate;
 
41
 
 
42
struct _GcrComboSelector {
 
43
        GtkComboBox parent;
 
44
 
 
45
        /*< private >*/
 
46
        GcrComboSelectorPrivate *pv;
 
47
};
 
48
 
 
49
struct _GcrComboSelectorClass {
 
50
        /*< private >*/
 
51
        GtkComboBoxClass parent_class;
 
52
};
 
53
 
 
54
GType                    gcr_combo_selector_get_type         (void);
 
55
 
 
56
GcrComboSelector*        gcr_combo_selector_new              (GcrCollection *collection);
 
57
 
 
58
GcrCollection*           gcr_combo_selector_get_collection   (GcrComboSelector *self);
 
59
 
 
60
const GcrColumn*         gcr_combo_selector_get_columns      (GcrComboSelector *self);
 
61
 
 
62
GObject*                 gcr_combo_selector_get_selected     (GcrComboSelector *self);
 
63
 
 
64
void                     gcr_combo_selector_set_selected     (GcrComboSelector *self,
 
65
                                                              GObject *selected);
 
66
 
 
67
G_END_DECLS
 
68
 
 
69
#endif /* __GCR_COMBO_SELECTOR_H__ */