[totem/wip/hadess/small-fixes: 2/4] main: Remove error check on playlist initialisation




commit 406a4c9b33f10a138041c894b2b440f77cc79d73
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Feb 10 15:56:19 2022 +0100

    main: Remove error check on playlist initialisation
    
    This can't happen now, the playlist uses a GResource and a template.

 src/totem-object.c | 3 ---
 1 file changed, 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]