~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to servers/google/libgdata/gdata-feed.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
#define GDATA_FEED_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GDATA_TYPE_FEED, GDataFeedPrivate))
38
38
 
 
39
G_DEFINE_TYPE (GDataFeed, gdata_feed, G_TYPE_OBJECT)
 
40
 
39
41
struct _GDataFeedAuthor {
40
42
        gchar *email;
41
43
        gchar *name;
149
151
}
150
152
 
151
153
static void
152
 
gdata_feed_init(GTypeInstance *instance,
153
 
                gpointer      g_class)
 
154
gdata_feed_init (GDataFeed *instance)
154
155
{
 
156
        GDataFeed *self = instance;
155
157
        GDataFeedPrivate *priv;
156
158
 
157
 
        GDataFeed *self = (GDataFeed *)instance;
158
 
 
159
159
        /* Private data set by g_type_class_add_private */
160
160
        priv = GDATA_FEED_GET_PRIVATE(self);
161
161
        priv->dispose_has_run = FALSE;
294
294
}
295
295
 
296
296
static void
297
 
gdata_feed_class_init(gpointer g_class,
298
 
                gpointer g_class_data)
 
297
gdata_feed_class_init (GDataFeedClass *klass)
299
298
{
300
 
        GObjectClass *gobject_class = G_OBJECT_CLASS(g_class);
301
 
        GDataFeedClass *klass = GDATA_FEED_CLASS(g_class);
 
299
        GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
302
300
 
303
301
        g_type_class_add_private(klass, sizeof (GDataFeedPrivate));
304
302
 
308
306
        gobject_class->dispose     = gdata_feed_dispose;
309
307
        gobject_class->finalize    = gdata_feed_finalize;
310
308
        gobject_class->constructor = gdata_feed_constructor;
311
 
 
312
 
}
313
 
 
314
 
GType gdata_feed_get_type(void)
315
 
{
316
 
  static GType type = 0;
317
 
  if (type == 0) {
318
 
    static const GTypeInfo info = {
319
 
      sizeof (GDataFeedClass),
320
 
      NULL, /* base init */
321
 
      NULL, /* base finalize */
322
 
      gdata_feed_class_init, /* class init */
323
 
      NULL, /* class finalize */
324
 
      NULL, /* class data */
325
 
      sizeof (GDataFeed),
326
 
      0, /* n_preallocs */
327
 
      gdata_feed_init /* instance init */
328
 
    };
329
 
    type = g_type_register_static(G_TYPE_OBJECT,"GDataFeedType", &info,0);
330
 
  }
331
 
  return type;
332
309
}
333
310
 
334
311
/*** API ***/