~ubuntu-branches/ubuntu/utopic/inkscape/utopic-proposed

« back to all changes in this revision

Viewing changes to src/widgets/sp-color-icc-selector.cpp

  • Committer: Package Import Robot
  • Author(s): Alex Valavanis
  • Date: 2014-08-19 19:10:32 UTC
  • mfrom: (1.6.5) (2.5.14 sid)
  • Revision ID: package-import@ubuntu.com-20140819191032-2eca1qihaszjk9i6
Tags: 0.48.5-2ubuntu1
* Merge with Debian Unstable (LP: #1358863). Fixes several Ubuntu bugs:
  - Illustrator CS SVG won't load: namespace URIs in entities (LP: #166371)
  - inkscape crashed with SIGSEGV in
    sp_dtw_color_profile_event() (LP: #966441)
  - inkscape crashed with SIGSEGV (LP: #1051017)
  - inkscape crashed with SIGSEGV in Inkscape::Preferences::_getNode()
    (LP: #1163241)
  - save a copy reverts to save as (LP: #529843)
  - Extension to braille not working on Xubuntu 12.10 (LP: #1090865)
* Remaining changes:
  - debian/control:
    + Set Ubuntu Developer as maintainer,
    + build-depend on dh-translation to handle Ubuntu translation,
    + demote pstoedit from Recommends to Suggests (because it's in universe),
  - debian/patches/0006_add_unity_quicklist_support.patch: add.
  - debian/patches/series: update.
  - debian/rules:
    + add dh_translation to handle Ubuntu translation
* Drop debian/patches/librevenge.patch (superseded by
    debian/patches/0006-Update_to_new_libwpg.patch)

Show diffs side-by-side

added added

removed removed

Lines of Context:
507
507
                if ( trans ) {
508
508
                    guint32 val = _color.toRGBA32(0);
509
509
                    guchar pre[4] = {
510
 
                        SP_RGBA32_R_U(val),
511
 
                        SP_RGBA32_G_U(val),
512
 
                        SP_RGBA32_B_U(val),
 
510
                        static_cast<guchar>(SP_RGBA32_R_U(val)),
 
511
                        static_cast<guchar>(SP_RGBA32_G_U(val)),
 
512
                        static_cast<guchar>(SP_RGBA32_B_U(val)),
513
513
                        255};
514
514
#ifdef DEBUG_LCMS
515
515
                    g_message("Shoving in [%02x] [%02x] [%02x]", pre[0], pre[1], pre[2]);