"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/af/xap/gtk/xap_UnixDlg_Insert_Symbol.cpp" between
abiword-3.0.1.tar.gz and abiword-3.0.2.tar.gz

About: AbiWord is a free word processing program. It is suitable for typing papers, letters, reports, memos, and so forth.

xap_UnixDlg_Insert_Symbol.cpp  (abiword-3.0.1):xap_UnixDlg_Insert_Symbol.cpp  (abiword-3.0.2)
skipping to change at line 788 skipping to change at line 788
static_cast<gpointer>(this)); static_cast<gpointer>(this));
} }
void XAP_UnixDialog_Insert_Symbol::_setScrolledWindow (void) void XAP_UnixDialog_Insert_Symbol::_setScrolledWindow (void)
{ {
XAP_Draw_Symbol * iDrawSymbol = _getCurrentSymbolMap(); XAP_Draw_Symbol * iDrawSymbol = _getCurrentSymbolMap();
UT_return_if_fail(iDrawSymbol); UT_return_if_fail(iDrawSymbol);
UT_return_if_fail(m_vadjust); UT_return_if_fail(m_vadjust);
UT_uint32 rows = iDrawSymbol->getSymbolRows () + 1; UT_uint32 rows = iDrawSymbol->getSymbolRows ();
rows = (rows <= 7? 1: rows - 7); rows = (rows <= 7? 1: rows);
gtk_adjustment_set_lower(m_vadjust, 0); gtk_adjustment_set_lower(m_vadjust, 0);
gtk_adjustment_set_upper(m_vadjust, gdouble (rows)); gtk_adjustment_set_upper(m_vadjust, gdouble (rows));
gtk_adjustment_set_page_size(m_vadjust, 1 + rows / 7); gtk_adjustment_set_page_size(m_vadjust, 7);
gtk_adjustment_set_page_increment(m_vadjust, 1); gtk_adjustment_set_page_increment(m_vadjust, 7);
gtk_adjustment_set_step_increment(m_vadjust, 1); gtk_adjustment_set_step_increment(m_vadjust, 1);
gtk_adjustment_set_value(m_vadjust, 0); gtk_adjustment_set_value(m_vadjust, 0);
} }
 End of changes. 2 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS