"Float file list" mode crashes in geeqie --blank mode.

diff -Nur geeqie-1.0alpha2-orig/src/filedata.c geeqie-1.0alpha2/src/filedata.c
--- geeqie-1.0alpha2-orig/src/filedata.c        2008-07-30 22:01:32.000000000 
+0200
+++ geeqie-1.0alpha2/src/filedata.c     2008-08-12 10:45:35.000000000 +0200
@@ -2083,7 +2083,9 @@
 {
        gint count;
 
-       g_assert(file_data_monitor_pool);
+       if (!file_data_monitor_pool) {
+        return FALSE;
+    }
        
        count = GPOINTER_TO_INT(g_hash_table_lookup(file_data_monitor_pool, 
fd));
        

#14 0x0712f0d6 in g_assert_warning () from /lib/libglib-2.0.so.0
No symbol table info available.
#15 0x0808c673 in file_data_unregister_real_time_monitor (fd=0x0)
    at filedata.c:2086
        count = <value optimized out>
        __PRETTY_FUNCTION__ = "file_data_unregister_real_time_monitor"
#16 0x080a0a82 in layout_style_set (lw=0x9e68b58, style=-1, order=0x0)
    at layout.c:1590
        d = 3215049304
        f = 95641080
        i = LAYOUT_RIGHT
        dir_fd = (FileData *) 0x0
        i = 0
#17 0x080a0d12 in layout_tools_float_set (lw=0x9e68b58, popped=1, hidden=0)
    at layout.c:1748
No locals.
#18 0x080a0dad in layout_tools_float_toggle (lw=0x17e6) at layout.c:1721
        popped = 0
#19 0x00798409 in g_cclosure_marshal_VOID__VOID ()
   from /lib/libgobject-2.0.so.0
No symbol table info available.

-- 
Michael Schwendt <[EMAIL PROTECTED]>
Fedora release 8 (Werewolf) - Linux 2.6.25.11-60.fc8
loadavg: 1.12 1.75 1.76

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel

Reply via email to