List Info

Thread: CR/CN-Client: Fixed trough-side-details warnings




CR/CN-Client: Fixed trough-side-details warnings
country flaguser name
United States
2007-07-30 17:56:40
Modified by: dyekreal.com
Date: 7/30/2007
Project: RealPlayer
Bug #: 7046

Synopsis: Fixed trough-side-details warnings

Overview: 
  Removed the use of trough-side-details GTK property
because it exists
  only in GTK+ 2.10 and above.
  This removed GTK+ warnings from the terminal from the
Superbuffer slider.


Files Modified:
  player/app/gtk/superbufhscale.c

Image Size and Heap Use impact (Client -Only):
None.

Platforms and Profiles Affected:
Linux

Distribution Libraries Affected:
None.

Distribution library impact and planned action:
None.

Platforms and Profiles Build Verified:
Will build in the build farm and verify on the following
platform.
Profile: helix_client_all_define
Platform: Fedora Core 5

Branch: HEAD

Copyright assignment: I am a RealNetworks employee.


Index: superbufhscale.c
============================================================
=======
RCS file: /cvsroot/player/app/gtk/superbufhscale.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -r1.1 -r1.2
--- superbufhscale.c	25 Jun 2007 23:58:41 -0000	1.1
+++ superbufhscale.c	30 Jul 2007 22:19:31 -0000	1.2
 -1115,7
+1115,7 
                            2 * (focus_line_width +
focus_padding));
         gint     height = (range->range_rect.height -
                            2 * (focus_line_width +
focus_padding));
-        gboolean trough_side_details;
+        gboolean trough_side_details = FALSE;
         gboolean trough_under_steppers;
         gint     stepper_size;
         gint     stepper_spacing;
 -1124,7
+1124,7 
         area.y += widget->allocation.y;
 
         gtk_widget_style_get (GTK_WIDGET (range),
-                             
"trough-side-details",  
&trough_side_details,
+                             
//"trough-side-details",  
&trough_side_details,  // GTK+ 2.10 and later only.
                              
"trough-under-steppers",
&trough_under_steppers,
                               "stepper-size",    
     &stepper_size,
                               "stepper-spacing", 
     &stepper_spacing,



-- 
Daniel Yek.


_______________________________________________
Player-dev mailing list
Player-devhelixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/play
er-dev

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )