Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2008 16:34:26 -0400 (EDT)
From:      george+freebsd@m5p.com
To:        multimedia@freebsd.org
Subject:   kino patch for amd64
Message-ID:  <200807062034.m66KYQ2u014293@m5p.com>

next in thread | raw e-mail | index | archive | help
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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807062034.m66KYQ2u014293>