~ubuntu-branches/ubuntu/trusty/gtk2-engines-oxygen/trusty-proposed

« back to all changes in this revision

Viewing changes to src/oxygenrgba.cpp

  • Committer: Package Import Robot
  • Author(s): Scarlett Clark
  • Date: 2014-02-12 06:35:44 UTC
  • mfrom: (1.3.2)
  • Revision ID: package-import@ubuntu.com-20140212063544-nnetktl56v0huubt
Tags: 1.4.3-0ubuntu1
* New upstream release
* One major issue was fixed (basically some dangling
  pointers being wrongly accessed). (LP: #1219844)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
* this file is part of the oxygen gtk engine
3
 
* Copyright (c) 2010 Hugo Pereira Da Costa <hugo@oxygen-icons.org>
 
3
* Copyright (c) 2010 Hugo Pereira Da Costa <hugo.pereira@free.fr>
4
4
*
5
5
* inspired notably from kdelibs/kdeui/color/kcolorutils.h
6
6
* Copyright (C) 2007 Matthew Woehlke <mw_triad@users.sourceforge.net>
77
77
            "(?:(\\d+),(\\d+),(\\d+)(?:,(\\d+))?)",
78
78
            G_REGEX_CASELESS, (GRegexMatchFlags)0, 0L );
79
79
 
80
 
        GMatchInfo* matchInfo;
 
80
        GMatchInfo* matchInfo(0L);
81
81
        g_regex_match( regex, value.c_str(), (GRegexMatchFlags)0, &matchInfo);
82
82
        const int matchCount( g_match_info_get_match_count( matchInfo ) );
83
83
        if( matchCount == 2 )