static void sjcd_plugin_class_init(GObjectClass *klass) { AnjutaPluginClass *plugin_class = ANJUTA_PLUGIN_CLASS (klass); parent_class = g_type_class_peek_parent(klass); plugin_class->activate = activate_plugin; plugin_class->deactivate = deactivate_plugin; }
static void quick_open_plugin_class_init(GObjectClass *klass) { AnjutaPluginClass *plugin_class = ANJUTA_PLUGIN_CLASS(klass); parent_class = g_type_class_peek_parent(klass); plugin_class->activate = quick_open_plugin_activate; plugin_class->deactivate = quick_open_plugin_deactivate; klass->finalize = quick_open_plugin_finalize; }
static void code_analyzer_class_init (GObjectClass *klass) { AnjutaPluginClass *plugin_class = ANJUTA_PLUGIN_CLASS (klass); parent_class = g_type_class_peek_parent (klass); plugin_class->activate = code_analyzer_activate; plugin_class->deactivate = code_analyzer_deactivate; klass->finalize = code_analyzer_finalize; klass->dispose = code_analyzer_dispose; }
static void amp_plugin_class_init (GObjectClass *klass) { AnjutaPluginClass *plugin_class = ANJUTA_PLUGIN_CLASS (klass); parent_class = g_type_class_peek_parent (klass); plugin_class->activate = activate_plugin; plugin_class->deactivate = deactivate_plugin; klass->dispose = dispose; klass->finalize = finalize; }
static void starter_plugin_class_init (GObjectClass *klass) { AnjutaPluginClass *plugin_class; g_type_class_add_private (klass, sizeof (StarterPluginPrivate)); plugin_class = ANJUTA_PLUGIN_CLASS (klass); plugin_class->activate = activate_plugin; plugin_class->deactivate = deactivate_plugin; klass->dispose = dispose; klass->finalize = finalize; }
static void sourceview_plugin_class_init (GObjectClass *klass) { AnjutaPluginClass *plugin_class = ANJUTA_PLUGIN_CLASS (klass); parent_class = g_type_class_peek_parent (klass); plugin_class->activate = sourceview_plugin_activate; plugin_class->deactivate = sourceview_plugin_deactivate; klass->finalize = sourceview_plugin_finalize; klass->dispose = sourceview_plugin_dispose; }
static void editor_plugin_class_init (GObjectClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); AnjutaPluginClass *plugin_class = ANJUTA_PLUGIN_CLASS (klass); parent_class = g_type_class_peek_parent (klass); plugin_class->activate = activate_plugin; plugin_class->deactivate = deactivate_plugin; klass->dispose = dispose; klass->finalize = finalize; signals[STYLE_CHANGED] = g_signal_new ("style-changed", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (EditorPluginClass, style_changed), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); }