Projects
Multimedia
LiVES
lives-2.6.0_lcolor.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lives-2.6.0_lcolor.patch of Package LiVES (Revision 33)
Currently displaying revision
33
,
Show latest
diff -U 3 -dHrN lives-2.6.0.orig/src/widget-helper.c lives-2.6.0/src/widget-helper.c --- lives-2.6.0.orig/src/widget-helper.c 2016-01-29 21:29:57.000000000 +0300 +++ lives-2.6.0/src/widget-helper.c 2016-02-04 20:32:52.203429861 +0300 @@ -8702,10 +8702,17 @@ LIVES_INLINE boolean widget_rgba_to_lives_rgba(lives_colRGBA32_t *lcolor, LiVESWidgetColor *color) { #ifdef GUI_GTK +#if GTK_CHECK_VERSION(3,0,0) lcolor->red=color->red*65535.; lcolor->green=color->green*65535.; lcolor->blue=color->blue*65535.; lcolor->alpha=color->alpha*65535.; +#else + lcolor->red=color->red; + lcolor->green=color->green; + lcolor->blue=color->blue; + lcolor->alpha=65535; +#endif return TRUE; #endif return FALSE;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.