* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+
#ifndef __COLORS_H__
#define __COLORS_H__
* @param new_color the new color
* @return TRUE if the allocation succeeded
*/
+#if 0
gboolean get_color(GdkColor *new_color);
-
+#endif
/** Convert color_t to GdkColor.
*
* @param target the GdkColor to be filled
* @param source the source color_t
*/
-void color_t_to_gdkcolor(GdkColor *target, color_t *source);
-
+void color_t_to_gdkcolor(GdkColor *target, const color_t *source);
+#if GTK_CHECK_VERSION(3,0,0)
+void color_t_to_gdkRGBAcolor(GdkRGBA *target, const color_t *source);
+#endif
/** Convert GdkColor to color_t.
*
* @param target the source color_t
* @param source the GdkColor to be filled
*/
-void gdkcolor_to_color_t(color_t *target, GdkColor *source);
-
+void gdkcolor_to_color_t(color_t *target, const GdkColor *source);
+#if GTK_CHECK_VERSION(3,0,0)
+void gdkRGBAcolor_to_color_t(color_t *target, const GdkRGBA *source);
#endif
+#endif /* __COLORS_H__ */