Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 213241 Details for
Bug 296242
media-gfx/gimp-9999 fails to compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix compilation
gimp-9999-module-cmyk.patch (text/plain), 1.32 KB, created by
Vladimir Berezhnoy
on 2009-12-16 21:55:25 UTC
(
hide
)
Description:
patch to fix compilation
Filename:
MIME Type:
Creator:
Vladimir Berezhnoy
Created:
2009-12-16 21:55:25 UTC
Size:
1.32 KB
patch
obsolete
>diff --git a/modules/color-selector-cmyk.c b/modules/color-selector-cmyk.c >index 9602950..35ca65e 100644 >--- a/modules/color-selector-cmyk.c >+++ b/modules/color-selector-cmyk.c >@@ -219,24 +219,26 @@ colorsel_cmyk_adj_update (GtkAdjustment *adj, > { > GimpColorSelector *selector = GIMP_COLOR_SELECTOR (module); > gint i; >+ gdouble value; > > for (i = 0; i < 4; i++) > if (module->adj[i] == adj) > break; >+ value = gtk_adjustment_get_value (adj) / 100.0; > > switch (i) > { > case 0: >- module->cmyk.c = adj->value / 100.0; >+ module->cmyk.c = value; > break; > case 1: >- module->cmyk.m = adj->value / 100.0; >+ module->cmyk.m = value; > break; > case 2: >- module->cmyk.y = adj->value / 100.0; >+ module->cmyk.y = value; > break; > case 3: >- module->cmyk.k = adj->value / 100.0; >+ module->cmyk.k = value; > break; > default: > return; >@@ -253,8 +255,10 @@ colorsel_cmyk_pullout_update (GtkAdjustment *adj, > ColorselCmyk *module) > { > GimpColorSelector *selector = GIMP_COLOR_SELECTOR (module); >+ gdouble value; >+ value = gtk_adjustment_get_value (adj) / 100.0; > >- module->pullout = adj->value / 100.0; >+ module->pullout = value; > > gimp_color_selector_set_color (selector, &selector->rgb, &selector->hsv); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 296242
: 213241 |
224563