Do case insensitive search for lua scripts to load.
[obnox/wireshark/wip.git] / gtk / color_utils.h
index 84456113aac4ddd7d894cca407e0bcdcdeeb8917..9562a32a5d5f49ab574a12a1d1369f61ad277434 100644 (file)
@@ -21,6 +21,7 @@
  * 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__
 
@@ -45,20 +46,25 @@ void colors_init(void);
  * @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__ */