~ubuntu-branches/ubuntu/trusty/gnome-online-accounts/trusty-proposed

« back to all changes in this revision

Viewing changes to src/goaidentity/org.freedesktop.realmd.c

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Thomas Bechtold, Tim Lunn, Jeremy Bicha, Michael Biebl
  • Date: 2013-05-24 17:59:18 UTC
  • mfrom: (0.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20130524175918-fd3s69zy2ow3g4af
Tags: 3.8.2-1
[ Thomas Bechtold ]
* New upstream release.

[ Tim Lunn ]
* debian/rules:
  - Explicitly enable owncloud
  - Don't try to enable Twitter or Yahoo support as they are not currently
    included
* debian/libgoa-1.0-common: install arch-independent css file here rather
  than in libgoa-1.0-0

[ Jeremy Bicha ]
* debian/control.in: Add Breaks/Replaces for above change. This is only
  needed for users of experimental though.

[ Michael Biebl ]
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Generated by gdbus-codegen 2.34.1. DO NOT EDIT.
 
2
 * Generated by gdbus-codegen 2.37.1. DO NOT EDIT.
3
3
 *
4
4
 * The license of this code is the same as for the source it was derived from.
5
5
 */
352
352
 * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-realmd-Provider.top_of_page">org.freedesktop.realmd.Provider</link>.
353
353
 */
354
354
 
 
355
typedef GoaRealmProviderIface GoaRealmProviderInterface;
 
356
G_DEFINE_INTERFACE (GoaRealmProvider, goa_realm_provider, G_TYPE_OBJECT);
 
357
 
355
358
static void
356
359
goa_realm_provider_default_init (GoaRealmProviderIface *iface)
357
360
{
410
413
    g_param_spec_boxed ("realms", "Realms", "Realms", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
411
414
}
412
415
 
413
 
typedef GoaRealmProviderIface GoaRealmProviderInterface;
414
 
G_DEFINE_INTERFACE (GoaRealmProvider, goa_realm_provider, G_TYPE_OBJECT);
415
 
 
416
416
/**
417
417
 * goa_realm_provider_get_name: (skip)
418
418
 * @object: A #GoaRealmProvider.
743
743
goa_realm_provider_proxy_get_property (GObject      *object,
744
744
  guint         prop_id,
745
745
  GValue       *value,
746
 
  GParamSpec   *pspec)
 
746
  GParamSpec   *pspec G_GNUC_UNUSED)
747
747
{
748
748
  const _ExtendedGDBusPropertyInfo *info;
749
749
  GVariant *variant;
784
784
goa_realm_provider_proxy_set_property (GObject      *object,
785
785
  guint         prop_id,
786
786
  const GValue *value,
787
 
  GParamSpec   *pspec)
 
787
  GParamSpec   *pspec G_GNUC_UNUSED)
788
788
{
789
789
  const _ExtendedGDBusPropertyInfo *info;
790
790
  GVariant *variant;
802
802
 
803
803
static void
804
804
goa_realm_provider_proxy_g_signal (GDBusProxy *proxy,
805
 
  const gchar *sender_name,
 
805
  const gchar *sender_name G_GNUC_UNUSED,
806
806
  const gchar *signal_name,
807
807
  GVariant *parameters)
808
808
{
1157
1157
 
1158
1158
static void
1159
1159
_goa_realm_provider_skeleton_handle_method_call (
1160
 
  GDBusConnection *connection,
1161
 
  const gchar *sender,
1162
 
  const gchar *object_path,
 
1160
  GDBusConnection *connection G_GNUC_UNUSED,
 
1161
  const gchar *sender G_GNUC_UNUSED,
 
1162
  const gchar *object_path G_GNUC_UNUSED,
1163
1163
  const gchar *interface_name,
1164
1164
  const gchar *method_name,
1165
1165
  GVariant *parameters,
1221
1221
 
1222
1222
static GVariant *
1223
1223
_goa_realm_provider_skeleton_handle_get_property (
1224
 
  GDBusConnection *connection,
1225
 
  const gchar *sender,
1226
 
  const gchar *object_path,
1227
 
  const gchar *interface_name,
 
1224
  GDBusConnection *connection G_GNUC_UNUSED,
 
1225
  const gchar *sender G_GNUC_UNUSED,
 
1226
  const gchar *object_path G_GNUC_UNUSED,
 
1227
  const gchar *interface_name G_GNUC_UNUSED,
1228
1228
  const gchar *property_name,
1229
1229
  GError **error,
1230
1230
  gpointer user_data)
1254
1254
 
1255
1255
static gboolean
1256
1256
_goa_realm_provider_skeleton_handle_set_property (
1257
 
  GDBusConnection *connection,
1258
 
  const gchar *sender,
1259
 
  const gchar *object_path,
1260
 
  const gchar *interface_name,
 
1257
  GDBusConnection *connection G_GNUC_UNUSED,
 
1258
  const gchar *sender G_GNUC_UNUSED,
 
1259
  const gchar *object_path G_GNUC_UNUSED,
 
1260
  const gchar *interface_name G_GNUC_UNUSED,
1261
1261
  const gchar *property_name,
1262
1262
  GVariant *variant,
1263
1263
  GError **error,
1293
1293
{
1294
1294
  _goa_realm_provider_skeleton_handle_method_call,
1295
1295
  _goa_realm_provider_skeleton_handle_get_property,
1296
 
  _goa_realm_provider_skeleton_handle_set_property
 
1296
  _goa_realm_provider_skeleton_handle_set_property,
 
1297
  {NULL}
1297
1298
};
1298
1299
 
1299
1300
static GDBusInterfaceInfo *
1300
 
goa_realm_provider_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton)
 
1301
goa_realm_provider_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1301
1302
{
1302
1303
  return goa_realm_provider_interface_info ();
1303
1304
}
1304
1305
 
1305
1306
static GDBusInterfaceVTable *
1306
 
goa_realm_provider_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton)
 
1307
goa_realm_provider_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
1307
1308
{
1308
1309
  return (GDBusInterfaceVTable *) &_goa_realm_provider_skeleton_vtable;
1309
1310
}
1382
1383
goa_realm_provider_skeleton_get_property (GObject      *object,
1383
1384
  guint         prop_id,
1384
1385
  GValue       *value,
1385
 
  GParamSpec   *pspec)
 
1386
  GParamSpec   *pspec G_GNUC_UNUSED)
1386
1387
{
1387
1388
  GoaRealmProviderSkeleton *skeleton = GOA_REALM_PROVIDER_SKELETON (object);
1388
1389
  g_assert (prop_id != 0 && prop_id - 1 < 3);
1479
1480
 
1480
1481
static void
1481
1482
goa_realm_provider_skeleton_notify (GObject      *object,
1482
 
  GParamSpec *pspec)
 
1483
  GParamSpec *pspec G_GNUC_UNUSED)
1483
1484
{
1484
1485
  GoaRealmProviderSkeleton *skeleton = GOA_REALM_PROVIDER_SKELETON (object);
1485
1486
  g_mutex_lock (&skeleton->priv->lock);
1810
1811
 * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-realmd-Service.top_of_page">org.freedesktop.realmd.Service</link>.
1811
1812
 */
1812
1813
 
 
1814
typedef GoaRealmServiceIface GoaRealmServiceInterface;
 
1815
G_DEFINE_INTERFACE (GoaRealmService, goa_realm_service, G_TYPE_OBJECT);
 
1816
 
1813
1817
static void
1814
1818
goa_realm_service_default_init (GoaRealmServiceIface *iface)
1815
1819
{
1905
1909
 
1906
1910
}
1907
1911
 
1908
 
typedef GoaRealmServiceIface GoaRealmServiceInterface;
1909
 
G_DEFINE_INTERFACE (GoaRealmService, goa_realm_service, G_TYPE_OBJECT);
1910
 
 
1911
1912
/**
1912
1913
 * goa_realm_service_emit_diagnostics:
1913
1914
 * @object: A #GoaRealmService.
2304
2305
goa_realm_service_proxy_get_property (GObject      *object,
2305
2306
  guint         prop_id,
2306
2307
  GValue       *value,
2307
 
  GParamSpec   *pspec)
 
2308
  GParamSpec   *pspec G_GNUC_UNUSED)
2308
2309
{
2309
2310
}
2310
2311
 
2312
2313
goa_realm_service_proxy_set_property (GObject      *object,
2313
2314
  guint         prop_id,
2314
2315
  const GValue *value,
2315
 
  GParamSpec   *pspec)
 
2316
  GParamSpec   *pspec G_GNUC_UNUSED)
2316
2317
{
2317
2318
}
2318
2319
 
2319
2320
static void
2320
2321
goa_realm_service_proxy_g_signal (GDBusProxy *proxy,
2321
 
  const gchar *sender_name,
 
2322
  const gchar *sender_name G_GNUC_UNUSED,
2322
2323
  const gchar *signal_name,
2323
2324
  GVariant *parameters)
2324
2325
{
2623
2624
 
2624
2625
static void
2625
2626
_goa_realm_service_skeleton_handle_method_call (
2626
 
  GDBusConnection *connection,
2627
 
  const gchar *sender,
2628
 
  const gchar *object_path,
 
2627
  GDBusConnection *connection G_GNUC_UNUSED,
 
2628
  const gchar *sender G_GNUC_UNUSED,
 
2629
  const gchar *object_path G_GNUC_UNUSED,
2629
2630
  const gchar *interface_name,
2630
2631
  const gchar *method_name,
2631
2632
  GVariant *parameters,
2687
2688
 
2688
2689
static GVariant *
2689
2690
_goa_realm_service_skeleton_handle_get_property (
2690
 
  GDBusConnection *connection,
2691
 
  const gchar *sender,
2692
 
  const gchar *object_path,
2693
 
  const gchar *interface_name,
 
2691
  GDBusConnection *connection G_GNUC_UNUSED,
 
2692
  const gchar *sender G_GNUC_UNUSED,
 
2693
  const gchar *object_path G_GNUC_UNUSED,
 
2694
  const gchar *interface_name G_GNUC_UNUSED,
2694
2695
  const gchar *property_name,
2695
2696
  GError **error,
2696
2697
  gpointer user_data)
2720
2721
 
2721
2722
static gboolean
2722
2723
_goa_realm_service_skeleton_handle_set_property (
2723
 
  GDBusConnection *connection,
2724
 
  const gchar *sender,
2725
 
  const gchar *object_path,
2726
 
  const gchar *interface_name,
 
2724
  GDBusConnection *connection G_GNUC_UNUSED,
 
2725
  const gchar *sender G_GNUC_UNUSED,
 
2726
  const gchar *object_path G_GNUC_UNUSED,
 
2727
  const gchar *interface_name G_GNUC_UNUSED,
2727
2728
  const gchar *property_name,
2728
2729
  GVariant *variant,
2729
2730
  GError **error,
2759
2760
{
2760
2761
  _goa_realm_service_skeleton_handle_method_call,
2761
2762
  _goa_realm_service_skeleton_handle_get_property,
2762
 
  _goa_realm_service_skeleton_handle_set_property
 
2763
  _goa_realm_service_skeleton_handle_set_property,
 
2764
  {NULL}
2763
2765
};
2764
2766
 
2765
2767
static GDBusInterfaceInfo *
2766
 
goa_realm_service_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton)
 
2768
goa_realm_service_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
2767
2769
{
2768
2770
  return goa_realm_service_interface_info ();
2769
2771
}
2770
2772
 
2771
2773
static GDBusInterfaceVTable *
2772
 
goa_realm_service_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton)
 
2774
goa_realm_service_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
2773
2775
{
2774
2776
  return (GDBusInterfaceVTable *) &_goa_realm_service_skeleton_vtable;
2775
2777
}
3190
3192
 * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-realmd-Realm.top_of_page">org.freedesktop.realmd.Realm</link>.
3191
3193
 */
3192
3194
 
 
3195
typedef GoaRealmCommonIface GoaRealmCommonInterface;
 
3196
G_DEFINE_INTERFACE (GoaRealmCommon, goa_realm_common, G_TYPE_OBJECT);
 
3197
 
3193
3198
static void
3194
3199
goa_realm_common_default_init (GoaRealmCommonIface *iface)
3195
3200
{
3309
3314
    g_param_spec_boxed ("permitted-logins", "PermittedLogins", "PermittedLogins", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
3310
3315
}
3311
3316
 
3312
 
typedef GoaRealmCommonIface GoaRealmCommonInterface;
3313
 
G_DEFINE_INTERFACE (GoaRealmCommon, goa_realm_common, G_TYPE_OBJECT);
3314
 
 
3315
3317
/**
3316
3318
 * goa_realm_common_get_name: (skip)
3317
3319
 * @object: A #GoaRealmCommon.
3956
3958
goa_realm_common_proxy_get_property (GObject      *object,
3957
3959
  guint         prop_id,
3958
3960
  GValue       *value,
3959
 
  GParamSpec   *pspec)
 
3961
  GParamSpec   *pspec G_GNUC_UNUSED)
3960
3962
{
3961
3963
  const _ExtendedGDBusPropertyInfo *info;
3962
3964
  GVariant *variant;
3997
3999
goa_realm_common_proxy_set_property (GObject      *object,
3998
4000
  guint         prop_id,
3999
4001
  const GValue *value,
4000
 
  GParamSpec   *pspec)
 
4002
  GParamSpec   *pspec G_GNUC_UNUSED)
4001
4003
{
4002
4004
  const _ExtendedGDBusPropertyInfo *info;
4003
4005
  GVariant *variant;
4015
4017
 
4016
4018
static void
4017
4019
goa_realm_common_proxy_g_signal (GDBusProxy *proxy,
4018
 
  const gchar *sender_name,
 
4020
  const gchar *sender_name G_GNUC_UNUSED,
4019
4021
  const gchar *signal_name,
4020
4022
  GVariant *parameters)
4021
4023
{
4444
4446
 
4445
4447
static void
4446
4448
_goa_realm_common_skeleton_handle_method_call (
4447
 
  GDBusConnection *connection,
4448
 
  const gchar *sender,
4449
 
  const gchar *object_path,
 
4449
  GDBusConnection *connection G_GNUC_UNUSED,
 
4450
  const gchar *sender G_GNUC_UNUSED,
 
4451
  const gchar *object_path G_GNUC_UNUSED,
4450
4452
  const gchar *interface_name,
4451
4453
  const gchar *method_name,
4452
4454
  GVariant *parameters,
4508
4510
 
4509
4511
static GVariant *
4510
4512
_goa_realm_common_skeleton_handle_get_property (
4511
 
  GDBusConnection *connection,
4512
 
  const gchar *sender,
4513
 
  const gchar *object_path,
4514
 
  const gchar *interface_name,
 
4513
  GDBusConnection *connection G_GNUC_UNUSED,
 
4514
  const gchar *sender G_GNUC_UNUSED,
 
4515
  const gchar *object_path G_GNUC_UNUSED,
 
4516
  const gchar *interface_name G_GNUC_UNUSED,
4515
4517
  const gchar *property_name,
4516
4518
  GError **error,
4517
4519
  gpointer user_data)
4541
4543
 
4542
4544
static gboolean
4543
4545
_goa_realm_common_skeleton_handle_set_property (
4544
 
  GDBusConnection *connection,
4545
 
  const gchar *sender,
4546
 
  const gchar *object_path,
4547
 
  const gchar *interface_name,
 
4546
  GDBusConnection *connection G_GNUC_UNUSED,
 
4547
  const gchar *sender G_GNUC_UNUSED,
 
4548
  const gchar *object_path G_GNUC_UNUSED,
 
4549
  const gchar *interface_name G_GNUC_UNUSED,
4548
4550
  const gchar *property_name,
4549
4551
  GVariant *variant,
4550
4552
  GError **error,
4580
4582
{
4581
4583
  _goa_realm_common_skeleton_handle_method_call,
4582
4584
  _goa_realm_common_skeleton_handle_get_property,
4583
 
  _goa_realm_common_skeleton_handle_set_property
 
4585
  _goa_realm_common_skeleton_handle_set_property,
 
4586
  {NULL}
4584
4587
};
4585
4588
 
4586
4589
static GDBusInterfaceInfo *
4587
 
goa_realm_common_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton)
 
4590
goa_realm_common_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
4588
4591
{
4589
4592
  return goa_realm_common_interface_info ();
4590
4593
}
4591
4594
 
4592
4595
static GDBusInterfaceVTable *
4593
 
goa_realm_common_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton)
 
4596
goa_realm_common_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
4594
4597
{
4595
4598
  return (GDBusInterfaceVTable *) &_goa_realm_common_skeleton_vtable;
4596
4599
}
4669
4672
goa_realm_common_skeleton_get_property (GObject      *object,
4670
4673
  guint         prop_id,
4671
4674
  GValue       *value,
4672
 
  GParamSpec   *pspec)
 
4675
  GParamSpec   *pspec G_GNUC_UNUSED)
4673
4676
{
4674
4677
  GoaRealmCommonSkeleton *skeleton = GOA_REALM_COMMON_SKELETON (object);
4675
4678
  g_assert (prop_id != 0 && prop_id - 1 < 7);
4766
4769
 
4767
4770
static void
4768
4771
goa_realm_common_skeleton_notify (GObject      *object,
4769
 
  GParamSpec *pspec)
 
4772
  GParamSpec *pspec G_GNUC_UNUSED)
4770
4773
{
4771
4774
  GoaRealmCommonSkeleton *skeleton = GOA_REALM_COMMON_SKELETON (object);
4772
4775
  g_mutex_lock (&skeleton->priv->lock);
5055
5058
 * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-realmd-Kerberos.top_of_page">org.freedesktop.realmd.Kerberos</link>.
5056
5059
 */
5057
5060
 
 
5061
typedef GoaRealmKerberosIface GoaRealmKerberosInterface;
 
5062
G_DEFINE_INTERFACE (GoaRealmKerberos, goa_realm_kerberos, G_TYPE_OBJECT);
 
5063
 
5058
5064
static void
5059
5065
goa_realm_kerberos_default_init (GoaRealmKerberosIface *iface)
5060
5066
{
5079
5085
    g_param_spec_string ("domain-name", "DomainName", "DomainName", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
5080
5086
}
5081
5087
 
5082
 
typedef GoaRealmKerberosIface GoaRealmKerberosInterface;
5083
 
G_DEFINE_INTERFACE (GoaRealmKerberos, goa_realm_kerberos, G_TYPE_OBJECT);
5084
 
 
5085
5088
/**
5086
5089
 * goa_realm_kerberos_get_realm_name: (skip)
5087
5090
 * @object: A #GoaRealmKerberos.
5221
5224
goa_realm_kerberos_proxy_get_property (GObject      *object,
5222
5225
  guint         prop_id,
5223
5226
  GValue       *value,
5224
 
  GParamSpec   *pspec)
 
5227
  GParamSpec   *pspec G_GNUC_UNUSED)
5225
5228
{
5226
5229
  const _ExtendedGDBusPropertyInfo *info;
5227
5230
  GVariant *variant;
5262
5265
goa_realm_kerberos_proxy_set_property (GObject      *object,
5263
5266
  guint         prop_id,
5264
5267
  const GValue *value,
5265
 
  GParamSpec   *pspec)
 
5268
  GParamSpec   *pspec G_GNUC_UNUSED)
5266
5269
{
5267
5270
  const _ExtendedGDBusPropertyInfo *info;
5268
5271
  GVariant *variant;
5280
5283
 
5281
5284
static void
5282
5285
goa_realm_kerberos_proxy_g_signal (GDBusProxy *proxy,
5283
 
  const gchar *sender_name,
 
5286
  const gchar *sender_name G_GNUC_UNUSED,
5284
5287
  const gchar *signal_name,
5285
5288
  GVariant *parameters)
5286
5289
{
5619
5622
 
5620
5623
static void
5621
5624
_goa_realm_kerberos_skeleton_handle_method_call (
5622
 
  GDBusConnection *connection,
5623
 
  const gchar *sender,
5624
 
  const gchar *object_path,
 
5625
  GDBusConnection *connection G_GNUC_UNUSED,
 
5626
  const gchar *sender G_GNUC_UNUSED,
 
5627
  const gchar *object_path G_GNUC_UNUSED,
5625
5628
  const gchar *interface_name,
5626
5629
  const gchar *method_name,
5627
5630
  GVariant *parameters,
5683
5686
 
5684
5687
static GVariant *
5685
5688
_goa_realm_kerberos_skeleton_handle_get_property (
5686
 
  GDBusConnection *connection,
5687
 
  const gchar *sender,
5688
 
  const gchar *object_path,
5689
 
  const gchar *interface_name,
 
5689
  GDBusConnection *connection G_GNUC_UNUSED,
 
5690
  const gchar *sender G_GNUC_UNUSED,
 
5691
  const gchar *object_path G_GNUC_UNUSED,
 
5692
  const gchar *interface_name G_GNUC_UNUSED,
5690
5693
  const gchar *property_name,
5691
5694
  GError **error,
5692
5695
  gpointer user_data)
5716
5719
 
5717
5720
static gboolean
5718
5721
_goa_realm_kerberos_skeleton_handle_set_property (
5719
 
  GDBusConnection *connection,
5720
 
  const gchar *sender,
5721
 
  const gchar *object_path,
5722
 
  const gchar *interface_name,
 
5722
  GDBusConnection *connection G_GNUC_UNUSED,
 
5723
  const gchar *sender G_GNUC_UNUSED,
 
5724
  const gchar *object_path G_GNUC_UNUSED,
 
5725
  const gchar *interface_name G_GNUC_UNUSED,
5723
5726
  const gchar *property_name,
5724
5727
  GVariant *variant,
5725
5728
  GError **error,
5755
5758
{
5756
5759
  _goa_realm_kerberos_skeleton_handle_method_call,
5757
5760
  _goa_realm_kerberos_skeleton_handle_get_property,
5758
 
  _goa_realm_kerberos_skeleton_handle_set_property
 
5761
  _goa_realm_kerberos_skeleton_handle_set_property,
 
5762
  {NULL}
5759
5763
};
5760
5764
 
5761
5765
static GDBusInterfaceInfo *
5762
 
goa_realm_kerberos_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton)
 
5766
goa_realm_kerberos_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
5763
5767
{
5764
5768
  return goa_realm_kerberos_interface_info ();
5765
5769
}
5766
5770
 
5767
5771
static GDBusInterfaceVTable *
5768
 
goa_realm_kerberos_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton)
 
5772
goa_realm_kerberos_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
5769
5773
{
5770
5774
  return (GDBusInterfaceVTable *) &_goa_realm_kerberos_skeleton_vtable;
5771
5775
}
5844
5848
goa_realm_kerberos_skeleton_get_property (GObject      *object,
5845
5849
  guint         prop_id,
5846
5850
  GValue       *value,
5847
 
  GParamSpec   *pspec)
 
5851
  GParamSpec   *pspec G_GNUC_UNUSED)
5848
5852
{
5849
5853
  GoaRealmKerberosSkeleton *skeleton = GOA_REALM_KERBEROS_SKELETON (object);
5850
5854
  g_assert (prop_id != 0 && prop_id - 1 < 2);
5941
5945
 
5942
5946
static void
5943
5947
goa_realm_kerberos_skeleton_notify (GObject      *object,
5944
 
  GParamSpec *pspec)
 
5948
  GParamSpec *pspec G_GNUC_UNUSED)
5945
5949
{
5946
5950
  GoaRealmKerberosSkeleton *skeleton = GOA_REALM_KERBEROS_SKELETON (object);
5947
5951
  g_mutex_lock (&skeleton->priv->lock);
6274
6278
 * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-realmd-KerberosMembership.top_of_page">org.freedesktop.realmd.KerberosMembership</link>.
6275
6279
 */
6276
6280
 
 
6281
typedef GoaRealmKerberosMembershipIface GoaRealmKerberosMembershipInterface;
 
6282
G_DEFINE_INTERFACE (GoaRealmKerberosMembership, goa_realm_kerberos_membership, G_TYPE_OBJECT);
 
6283
 
6277
6284
static void
6278
6285
goa_realm_kerberos_membership_default_init (GoaRealmKerberosMembershipIface *iface)
6279
6286
{
6356
6363
    g_param_spec_variant ("supported-leave-credentials", "SupportedLeaveCredentials", "SupportedLeaveCredentials", G_VARIANT_TYPE ("a(ss)"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
6357
6364
}
6358
6365
 
6359
 
typedef GoaRealmKerberosMembershipIface GoaRealmKerberosMembershipInterface;
6360
 
G_DEFINE_INTERFACE (GoaRealmKerberosMembership, goa_realm_kerberos_membership, G_TYPE_OBJECT);
6361
 
 
6362
6366
/**
6363
6367
 * goa_realm_kerberos_membership_get_suggested_administrator: (skip)
6364
6368
 * @object: A #GoaRealmKerberosMembership.
6793
6797
goa_realm_kerberos_membership_proxy_get_property (GObject      *object,
6794
6798
  guint         prop_id,
6795
6799
  GValue       *value,
6796
 
  GParamSpec   *pspec)
 
6800
  GParamSpec   *pspec G_GNUC_UNUSED)
6797
6801
{
6798
6802
  const _ExtendedGDBusPropertyInfo *info;
6799
6803
  GVariant *variant;
6834
6838
goa_realm_kerberos_membership_proxy_set_property (GObject      *object,
6835
6839
  guint         prop_id,
6836
6840
  const GValue *value,
6837
 
  GParamSpec   *pspec)
 
6841
  GParamSpec   *pspec G_GNUC_UNUSED)
6838
6842
{
6839
6843
  const _ExtendedGDBusPropertyInfo *info;
6840
6844
  GVariant *variant;
6852
6856
 
6853
6857
static void
6854
6858
goa_realm_kerberos_membership_proxy_g_signal (GDBusProxy *proxy,
6855
 
  const gchar *sender_name,
 
6859
  const gchar *sender_name G_GNUC_UNUSED,
6856
6860
  const gchar *signal_name,
6857
6861
  GVariant *parameters)
6858
6862
{
7203
7207
 
7204
7208
static void
7205
7209
_goa_realm_kerberos_membership_skeleton_handle_method_call (
7206
 
  GDBusConnection *connection,
7207
 
  const gchar *sender,
7208
 
  const gchar *object_path,
 
7210
  GDBusConnection *connection G_GNUC_UNUSED,
 
7211
  const gchar *sender G_GNUC_UNUSED,
 
7212
  const gchar *object_path G_GNUC_UNUSED,
7209
7213
  const gchar *interface_name,
7210
7214
  const gchar *method_name,
7211
7215
  GVariant *parameters,
7267
7271
 
7268
7272
static GVariant *
7269
7273
_goa_realm_kerberos_membership_skeleton_handle_get_property (
7270
 
  GDBusConnection *connection,
7271
 
  const gchar *sender,
7272
 
  const gchar *object_path,
7273
 
  const gchar *interface_name,
 
7274
  GDBusConnection *connection G_GNUC_UNUSED,
 
7275
  const gchar *sender G_GNUC_UNUSED,
 
7276
  const gchar *object_path G_GNUC_UNUSED,
 
7277
  const gchar *interface_name G_GNUC_UNUSED,
7274
7278
  const gchar *property_name,
7275
7279
  GError **error,
7276
7280
  gpointer user_data)
7300
7304
 
7301
7305
static gboolean
7302
7306
_goa_realm_kerberos_membership_skeleton_handle_set_property (
7303
 
  GDBusConnection *connection,
7304
 
  const gchar *sender,
7305
 
  const gchar *object_path,
7306
 
  const gchar *interface_name,
 
7307
  GDBusConnection *connection G_GNUC_UNUSED,
 
7308
  const gchar *sender G_GNUC_UNUSED,
 
7309
  const gchar *object_path G_GNUC_UNUSED,
 
7310
  const gchar *interface_name G_GNUC_UNUSED,
7307
7311
  const gchar *property_name,
7308
7312
  GVariant *variant,
7309
7313
  GError **error,
7339
7343
{
7340
7344
  _goa_realm_kerberos_membership_skeleton_handle_method_call,
7341
7345
  _goa_realm_kerberos_membership_skeleton_handle_get_property,
7342
 
  _goa_realm_kerberos_membership_skeleton_handle_set_property
 
7346
  _goa_realm_kerberos_membership_skeleton_handle_set_property,
 
7347
  {NULL}
7343
7348
};
7344
7349
 
7345
7350
static GDBusInterfaceInfo *
7346
 
goa_realm_kerberos_membership_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton)
 
7351
goa_realm_kerberos_membership_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
7347
7352
{
7348
7353
  return goa_realm_kerberos_membership_interface_info ();
7349
7354
}
7350
7355
 
7351
7356
static GDBusInterfaceVTable *
7352
 
goa_realm_kerberos_membership_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton)
 
7357
goa_realm_kerberos_membership_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
7353
7358
{
7354
7359
  return (GDBusInterfaceVTable *) &_goa_realm_kerberos_membership_skeleton_vtable;
7355
7360
}
7428
7433
goa_realm_kerberos_membership_skeleton_get_property (GObject      *object,
7429
7434
  guint         prop_id,
7430
7435
  GValue       *value,
7431
 
  GParamSpec   *pspec)
 
7436
  GParamSpec   *pspec G_GNUC_UNUSED)
7432
7437
{
7433
7438
  GoaRealmKerberosMembershipSkeleton *skeleton = GOA_REALM_KERBEROS_MEMBERSHIP_SKELETON (object);
7434
7439
  g_assert (prop_id != 0 && prop_id - 1 < 3);
7525
7530
 
7526
7531
static void
7527
7532
goa_realm_kerberos_membership_skeleton_notify (GObject      *object,
7528
 
  GParamSpec *pspec)
 
7533
  GParamSpec *pspec G_GNUC_UNUSED)
7529
7534
{
7530
7535
  GoaRealmKerberosMembershipSkeleton *skeleton = GOA_REALM_KERBEROS_MEMBERSHIP_SKELETON (object);
7531
7536
  g_mutex_lock (&skeleton->priv->lock);
7678
7683
 * Virtual table for the #GoaRealmObject interface.
7679
7684
 */
7680
7685
 
 
7686
typedef GoaRealmObjectIface GoaRealmObjectInterface;
 
7687
G_DEFINE_INTERFACE_WITH_CODE (GoaRealmObject, goa_realm_object, G_TYPE_OBJECT, g_type_interface_add_prerequisite (g_define_type_id, G_TYPE_DBUS_OBJECT));
 
7688
 
7681
7689
static void
7682
7690
goa_realm_object_default_init (GoaRealmObjectIface *iface)
7683
7691
{
7728
7736
 
7729
7737
}
7730
7738
 
7731
 
typedef GoaRealmObjectIface GoaRealmObjectInterface;
7732
 
G_DEFINE_INTERFACE_WITH_CODE (GoaRealmObject, goa_realm_object, G_TYPE_OBJECT, g_type_interface_add_prerequisite (g_define_type_id, G_TYPE_DBUS_OBJECT));
7733
 
 
7734
7739
/**
7735
7740
 * goa_realm_object_get_provider:
7736
7741
 * @object: A #GoaRealmObject.
7938
7943
 */
7939
7944
 
7940
7945
static void
7941
 
goa_realm_object_proxy__goa_realm_object_iface_init (GoaRealmObjectIface *iface)
 
7946
goa_realm_object_proxy__goa_realm_object_iface_init (GoaRealmObjectIface *iface G_GNUC_UNUSED)
7942
7947
{
7943
7948
}
7944
7949
 
7955
7960
                         G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, goa_realm_object_proxy__g_dbus_object_iface_init));
7956
7961
 
7957
7962
static void
7958
 
goa_realm_object_proxy_init (GoaRealmObjectProxy *object)
 
7963
goa_realm_object_proxy_init (GoaRealmObjectProxy *object G_GNUC_UNUSED)
7959
7964
{
7960
7965
}
7961
7966
 
7962
7967
static void
7963
7968
goa_realm_object_proxy_set_property (GObject      *gobject,
7964
7969
  guint         prop_id,
7965
 
  const GValue *value,
 
7970
  const GValue *value G_GNUC_UNUSED,
7966
7971
  GParamSpec   *pspec)
7967
7972
{
7968
7973
  G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec);
8057
8062
 */
8058
8063
 
8059
8064
static void
8060
 
goa_realm_object_skeleton__goa_realm_object_iface_init (GoaRealmObjectIface *iface)
 
8065
goa_realm_object_skeleton__goa_realm_object_iface_init (GoaRealmObjectIface *iface G_GNUC_UNUSED)
8061
8066
{
8062
8067
}
8063
8068
 
8074
8079
                         G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, goa_realm_object_skeleton__g_dbus_object_iface_init));
8075
8080
 
8076
8081
static void
8077
 
goa_realm_object_skeleton_init (GoaRealmObjectSkeleton *object)
 
8082
goa_realm_object_skeleton_init (GoaRealmObjectSkeleton *object G_GNUC_UNUSED)
8078
8083
{
8079
8084
}
8080
8085
 
8322
8327
G_DEFINE_TYPE (GoaRealmObjectManagerClient, goa_realm_object_manager_client, G_TYPE_DBUS_OBJECT_MANAGER_CLIENT);
8323
8328
 
8324
8329
static void
8325
 
goa_realm_object_manager_client_init (GoaRealmObjectManagerClient *manager)
 
8330
goa_realm_object_manager_client_init (GoaRealmObjectManagerClient *manager G_GNUC_UNUSED)
8326
8331
{
8327
8332
}
8328
8333
 
8329
8334
static void
8330
 
goa_realm_object_manager_client_class_init (GoaRealmObjectManagerClientClass *klass)
 
8335
goa_realm_object_manager_client_class_init (GoaRealmObjectManagerClientClass *klass G_GNUC_UNUSED)
8331
8336
{
8332
8337
}
8333
8338
 
8343
8348
 * Returns: A #GDBusProxy<!-- -->-derived #GType if @interface_name is not %NULL, otherwise the #GType for #GoaRealmObjectProxy.
8344
8349
 */
8345
8350
GType
8346
 
goa_realm_object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data)
 
8351
goa_realm_object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager G_GNUC_UNUSED, const gchar *object_path G_GNUC_UNUSED, const gchar *interface_name, gpointer user_data G_GNUC_UNUSED)
8347
8352
{
8348
8353
  static gsize once_init_value = 0;
8349
8354
  static GHashTable *lookup_hash;