To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=95554
                 Issue #|95554
                 Summary|gtk+ spinbutton warning ...
               Component|gsl
                 Version|OOo 3.0
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|pl
             Reported by|mmeeks





------- Additional comments from [EMAIL PROTECTED] Tue Oct 28 16:07:42 +0000 
2008 -------
Run OO.o with a recent gtk+ and we get:

$ ooimpress
(soffice:10452): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-z
ero page size is deprecated

I assume this patch fixes this:

--- vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx    16 Jun 2008 14:30:38 -0000      
1.47
+++ vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx    28 Oct 2008 16:05:04 -0000
@@ -3635,7 +3640,7 @@ static void NWEnsureGTKSpinButton( int n
 {
        if ( !gWidgetData[nScreen].gSpinButtonWidget )
        {
-               GtkAdjustment *adj = GTK_ADJUSTMENT( gtk_adjustment_new(0, 0, 
2, 1, 1, 1) );
+               GtkAdjustment *adj = GTK_ADJUSTMENT( gtk_adjustment_new(0, 0, 
2, 1, 1, 0) );
                gWidgetData[nScreen].gSpinButtonWidget = gtk_spin_button_new( 
adj, 1, 2 );
 
                //Setting non-editable means it doesn't blink, so there's no 
timeouts

with little risk.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to