kino patch for amd64
    george+freebsd at m5p.com 
    george+freebsd at m5p.com
       
    Sun Jul  6 20:34:34 UTC 2008
    
    
  
Anyone trying to use kino on a greater-than-32-bit architecture will
probably be interested in the following patch.   -- George Mitchell
*** src/gtkenhancedscale.c.orig	Tue Feb 20 00:52:29 2007
--- src/gtkenhancedscale.c	Sun Jul  6 10:58:49 2008
***************
*** 254,260 ****
  
  	enhanced_scale->trough = gdk_window_new ( widget->window, &attributes, attributes_mask );
  
! 	enhanced_scale->slider = malloc( enhanced_scale->num_adjustments * sizeof(*enhanced_scale->handler_id) );
  	attributes.width = ENHANCED_SCALE_CLASS ( enhanced_scale ) ->arrow_width;
  	attributes.height = ENHANCED_SCALE_CLASS ( enhanced_scale ) ->arrow_height;
  	attributes.event_mask |= ( GDK_BUTTON_MOTION_MASK |
--- 254,260 ----
  
  	enhanced_scale->trough = gdk_window_new ( widget->window, &attributes, attributes_mask );
  
! 	enhanced_scale->slider = malloc( enhanced_scale->num_adjustments * sizeof(*enhanced_scale->slider) );
  	attributes.width = ENHANCED_SCALE_CLASS ( enhanced_scale ) ->arrow_width;
  	attributes.height = ENHANCED_SCALE_CLASS ( enhanced_scale ) ->arrow_height;
  	attributes.event_mask |= ( GDK_BUTTON_MOTION_MASK |
    
    
More information about the freebsd-multimedia
mailing list