• Bastien Nocera's avatar
    main: Fix warning when "browsing too fast" · 3b49f979
    Bastien Nocera authored
    Fix possible use of an uninitialised variable, as spotted by valgrind.
    
    (totem:28635): Gtk-CRITICAL **: 17:22:01.811: gtk_tree_model_get_iter: assertion 'path != NULL' failed
    ==28635== Conditional jump or move depends on uninitialised value(s)
    ==28635==    at 0x50BCC94: gtk_tree_store_get_value (gtktreestore.c:655)
    ==28635==    by 0x50AF14D: gtk_tree_model_get_valist (gtktreemodel.c:1798)
    ==28635==    by 0x50AF47C: gtk_tree_model_get (gtktreemodel.c:1762)
    ==28635==    by 0x48989C6: browse_cb (totem-grilo.c:688)
    ==28635==    by 0x608EFE3: queue_process (grl-source.c:2088)
    ==28635==    by 0x4994917: g_main_dispatch (gmain.c:3189)
    ==28635==    by 0x4994917: g_main_context_dispatch (gmain.c:3854)
    ==28635==    by 0x4994D07: g_main_context_iterate.isra.26 (gmain.c:3927)
    ==28635==    by 0x4994D9B: g_main_context_iteration (gmain.c:3988)
    ==28635==    by 0x4B3A71C: g_application_run (gapplication.c:2516)
    ==28635==    by 0x10A277: main (totem.c:83)
    
    See #304
    3b49f979
Name
Last commit
Last update
..
backend Loading commit data...
gst Loading commit data...
plugins Loading commit data...
grilo.gresource.xml Loading commit data...
grilo.ui Loading commit data...
icon-helpers.c Loading commit data...
icon-helpers.h Loading commit data...
meson.build Loading commit data...
test-icons.c Loading commit data...
test-totem.c Loading commit data...
totem-gallery-thumbnailer.c Loading commit data...
totem-grilo.c Loading commit data...
totem-grilo.conf Loading commit data...
totem-grilo.h Loading commit data...
totem-interface.c Loading commit data...
totem-interface.h Loading commit data...
totem-main-toolbar.c Loading commit data...
totem-main-toolbar.h Loading commit data...
totem-menu.c Loading commit data...
totem-menu.h Loading commit data...
totem-object.c Loading commit data...
totem-open-location.c Loading commit data...
totem-open-location.h Loading commit data...
totem-options.c Loading commit data...
totem-options.h Loading commit data...
totem-playlist.c Loading commit data...
totem-playlist.h Loading commit data...
totem-preferences.c Loading commit data...
totem-preferences.h Loading commit data...
totem-private.h Loading commit data...
totem-profile.h Loading commit data...
totem-resources.c Loading commit data...
totem-resources.h Loading commit data...
totem-search-entry.c Loading commit data...
totem-search-entry.h Loading commit data...
totem-selection-toolbar.c Loading commit data...
totem-selection-toolbar.h Loading commit data...
totem-session.c Loading commit data...
totem-session.h Loading commit data...
totem-subtitle-encoding.c Loading commit data...
totem-subtitle-encoding.h Loading commit data...
totem-uri.c Loading commit data...
totem-uri.h Loading commit data...
totem-video-thumbnailer.c Loading commit data...
totem.c Loading commit data...
totem.h Loading commit data...
totemmaintoolbar.ui Loading commit data...
totemselectiontoolbar.ui Loading commit data...