1
0
Fork 0

clutter/backend: Remove unused vfuncs

The signals are still used by Actor/Text

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3989>
This commit is contained in:
Bilal Elmoussaoui 2024-08-21 03:05:02 +02:00 committed by Jonas Ådahl
parent 2eddf35625
commit 2dc2ab94d3
2 changed files with 2 additions and 4 deletions

View file

@ -78,8 +78,6 @@ struct _ClutterBackendClass
/* signals */
void (* resolution_changed) (ClutterBackend *backend);
void (* font_changed) (ClutterBackend *backend);
void (* settings_changed) (ClutterBackend *backend);
};
ClutterStageWindow * _clutter_backend_create_stage (ClutterBackend *backend,

View file

@ -312,7 +312,7 @@ clutter_backend_class_init (ClutterBackendClass *klass)
g_signal_new (I_("font-changed"),
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (ClutterBackendClass, font_changed),
0,
NULL, NULL, NULL,
G_TYPE_NONE, 0);
@ -327,7 +327,7 @@ clutter_backend_class_init (ClutterBackendClass *klass)
g_signal_new (I_("settings-changed"),
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (ClutterBackendClass, settings_changed),
0,
NULL, NULL, NULL,
G_TYPE_NONE, 0);