mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-19 13:30:02 +00:00
gst: Fix a wrong unref function
Use gdk_color_state_unref on a color state.
This commit is contained in:
parent
50ea9450ea
commit
17524f2794
@ -832,7 +832,7 @@ gtk_gst_sink_dispose (GObject *object)
|
||||
{
|
||||
GtkGstSink *self = GTK_GST_SINK (object);
|
||||
|
||||
g_clear_object (&self->color_state);
|
||||
g_clear_pointer (&self->color_state, gdk_color_state_unref);
|
||||
g_clear_object (&self->paintable);
|
||||
g_clear_object (&self->gst_gdk_context);
|
||||
g_clear_object (&self->gst_display);
|
||||
|
Loading…
Reference in New Issue
Block a user