claws-mail/src/gtk/colorsel.h
Andrej Kacian d2d11e22e3 Use GdkRGBA instead of deprecated GdkColor where possible, and also instead of internal unsigned long representation.
The internal representation was buggy anyway, converting
to and from GdkColor improperly, changing slightly RGB values.
I guess nobody ever noticed slight hue changes.

GdkColor is still used when setting widget colors with (also
deprecated) GtkStyle, and when using other deprecated
functions, which will eventually be replaced.
2018-10-28 11:40:58 +01:00

25 lines
919 B
C

/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
* Copyright (C) 2003-2012 Hiroyuki Yamamoto & The Claws Mail Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef COLORSEL_H
#define COLORSEL_H
GdkRGBA colorsel_select_color_rgb(gchar *title, GdkRGBA rgba);
#endif /* COLORSEL_H */