summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-02-10 15:56:19 +0100
committerBastien Nocera <hadess@hadess.net>2022-02-10 23:59:37 +0100
commit406a4c9b33f10a138041c894b2b440f77cc79d73 (patch)
treea7582a904a8a70f402dbceef41a025a39f4da81d
parent2d1fe2cbd2967f11967324d7d932393a59c2cfaf (diff)
downloadtotem-406a4c9b33f10a138041c894b2b440f77cc79d73.tar.gz
main: Remove error check on playlist initialisation
This can't happen now, the playlist uses a GResource and a template.
-rw-r--r--src/totem-object.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/totem-object.c b/src/totem-object.c
index c80717ce5..56497f6d9 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -4092,9 +4092,6 @@ playlist_widget_setup (TotemObject *totem)
{
totem->playlist = TOTEM_PLAYLIST (totem_playlist_new ());
- if (totem->playlist == NULL)
- totem_object_exit (totem);
-
#if 0
{
GtkWidget *window;