summaryrefslogtreecommitdiff
path: root/gtk/gtkmediacontrols.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2022-07-07 14:09:35 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2022-07-11 18:24:37 +0100
commitf4f683a469037f3e81003e4f044d441d92432b06 (patch)
tree994867588bd91288e334e37f364f5dcb7d24b095 /gtk/gtkmediacontrols.c
parent63fe3345a73ff2a021752909d05d2275582d97eb (diff)
downloadgtk+-f4f683a469037f3e81003e4f044d441d92432b06.tar.gz
Rename clear_template to dispose_template
Make it more clear that the function is supposed to be called during the dispose sequence of a widget.
Diffstat (limited to 'gtk/gtkmediacontrols.c')
-rw-r--r--gtk/gtkmediacontrols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmediacontrols.c b/gtk/gtkmediacontrols.c
index e7f279510d..4dc8888e15 100644
--- a/gtk/gtkmediacontrols.c
+++ b/gtk/gtkmediacontrols.c
@@ -208,7 +208,7 @@ gtk_media_controls_dispose (GObject *object)
gtk_media_controls_set_media_stream (controls, NULL);
- gtk_widget_clear_template (GTK_WIDGET (object), GTK_TYPE_MEDIA_CONTROLS);
+ gtk_widget_dispose_template (GTK_WIDGET (object), GTK_TYPE_MEDIA_CONTROLS);
G_OBJECT_CLASS (gtk_media_controls_parent_class)->dispose (object);
}