static void cc_privacy_panel_class_init (CcPrivacyPanelClass *klass) { GObjectClass *oclass = G_OBJECT_CLASS (klass); CcPanelClass *panel_class = CC_PANEL_CLASS (klass); panel_class->get_help_uri = cc_privacy_panel_get_help_uri; oclass->finalize = cc_privacy_panel_finalize; g_type_class_add_private (klass, sizeof (CcPrivacyPanelPrivate)); }
static void um_user_panel_class_init (UmUserPanelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); CcPanelClass *panel_class = CC_PANEL_CLASS (klass); object_class->dispose = um_user_panel_dispose; panel_class->get_permission = um_user_panel_get_permission; g_type_class_add_private (klass, sizeof (UmUserPanelPrivate)); }
static void cc_ua_panel_class_init (CcUaPanelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); CcPanelClass *panel_class = CC_PANEL_CLASS (klass); g_type_class_add_private (klass, sizeof (CcUaPanelPrivate)); panel_class->get_help_uri = cc_ua_panel_get_help_uri; object_class->dispose = cc_ua_panel_dispose; }
static void cc_sharing_panel_class_init (CcSharingPanelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); CcPanelClass *panel_class = CC_PANEL_CLASS (klass); g_type_class_add_private (klass, sizeof (CcSharingPanelPrivate)); object_class->constructed = cc_sharing_panel_constructed; object_class->dispose = cc_sharing_panel_dispose; panel_class->get_help_uri = cc_sharing_panel_get_help_uri; }
static void cc_sound_panel_class_init (CcSoundPanelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); CcPanelClass *panel_class = CC_PANEL_CLASS (klass); panel_class->get_help_uri = cc_sound_panel_get_help_uri; object_class->finalize = cc_sound_panel_finalize; object_class->set_property = cc_sound_panel_set_property; g_object_class_override_property (object_class, PROP_ARGV, "argv"); }
static void cc_bluetooth_panel_class_init (CcBluetoothPanelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); CcPanelClass *panel_class = CC_PANEL_CLASS (klass); object_class->constructed = cc_bluetooth_panel_constructed; object_class->finalize = cc_bluetooth_panel_finalize; panel_class->get_help_uri = cc_bluetooth_panel_get_help_uri; g_type_class_add_private (klass, sizeof (CcBluetoothPanelPrivate)); }
static void cc_screen_panel_class_init (CcScreenPanelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); CcPanelClass *panel_class = CC_PANEL_CLASS (klass); g_type_class_add_private (klass, sizeof (CcScreenPanelPrivate)); object_class->get_property = cc_screen_panel_get_property; object_class->set_property = cc_screen_panel_set_property; object_class->dispose = cc_screen_panel_dispose; panel_class->get_help_uri = cc_screen_panel_get_help_uri; }
static void cc_notifications_panel_class_init (CcNotificationsPanelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); CcPanelClass *panel_class = CC_PANEL_CLASS (klass); panel_class->get_help_uri = cc_notifications_panel_get_help_uri; /* Separate dispose() and finalize() functions are necessary * to make sure we cancel the running thread before the panel * gets finalized */ object_class->dispose = cc_notifications_panel_dispose; object_class->finalize = cc_notifications_panel_finalize; }
static void cc_date_time_panel_class_init (CcDateTimePanelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); CcPanelClass *panel_class = CC_PANEL_CLASS (klass); g_type_class_add_private (klass, sizeof (CcDateTimePanelPrivate)); object_class->get_property = cc_date_time_panel_get_property; object_class->set_property = cc_date_time_panel_set_property; object_class->dispose = cc_date_time_panel_dispose; panel_class->get_permission = cc_date_time_panel_get_permission; }
static void cc_date_time_panel_class_init (CcDateTimePanelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); CcPanelClass *panel_class = CC_PANEL_CLASS (klass); g_type_class_add_private (klass, sizeof (CcDateTimePanelPrivate)); object_class->dispose = cc_date_time_panel_dispose; panel_class->get_permission = cc_date_time_panel_get_permission; panel_class->get_help_uri = cc_date_time_panel_get_help_uri; bind_textdomain_codeset (GETTEXT_PACKAGE_TIMEZONES, "UTF-8"); }
static void cc_wacom_panel_class_init (CcWacomPanelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); CcPanelClass *panel_class = CC_PANEL_CLASS (klass); g_type_class_add_private (klass, sizeof (CcWacomPanelPrivate)); object_class->get_property = cc_wacom_panel_get_property; object_class->set_property = cc_wacom_panel_set_property; object_class->dispose = cc_wacom_panel_dispose; panel_class->get_help_uri = cc_wacom_panel_get_help_uri; g_object_class_override_property (object_class, PROP_PARAMETERS, "parameters"); }
static void cc_keyboard_panel_class_init (CcKeyboardPanelClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); CcPanelClass *panel_class = CC_PANEL_CLASS (klass); g_type_class_add_private (klass, sizeof (CcKeyboardPanelPrivate)); panel_class->get_help_uri = cc_keyboard_panel_get_help_uri; object_class->constructor = cc_keyboard_panel_constructor; object_class->set_property = cc_keyboard_panel_set_property; object_class->dispose = cc_keyboard_panel_dispose; object_class->finalize = cc_keyboard_panel_finalize; g_object_class_override_property (object_class, PROP_PARAMETERS, "parameters"); }