Changeset 289

Show
Ignore:
Timestamp:
10/30/07 08:45:08 (10 months ago)
Author:
jordi
Message:

Applied patch by zhou sf <sxzzsf@gmail.com> in which we were missing the return value of the g_signal_emit_by_name() when scrolling the window in the page view. This crashed with gtk+ 2.10

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/THANKS

    r288 r289  
    2121    - Wojciech Myrda <vojcek@tlen.pl>, for his Polish translation. 
    2222    - Yuri Pankov <yuri.pankov@gmail.com>, for his patches. 
     23    - zhou sf <sxzzsf@gmail.com>, for his patches. 
    2324 
    2425If you feel that you should be in this list and I didn't remember to add you in it, please send me an e-mail! :-) 
  • trunk/src/gtk/PageView.cxx

    r283 r289  
    557557    GtkScrollType direction; 
    558558    gboolean horizontal = FALSE; 
     559    gboolean returnValue = TRUE; 
    559560    PagePter *pter = (PagePter *)data; 
    560561 
     
    629630 
    630631    g_signal_emit_by_name(G_OBJECT(widget), "scroll-child", 
    631                           direction, horizontal); 
    632     return TRUE
    633 } 
     632                          direction, horizontal, &returnValue); 
     633    return returnValue
     634}