Fix HAVE_* config values checks
[geeqie.git] / src / ui-tree-edit.h
index f9fb4b3..41ab50c 100644 (file)
@@ -22,6 +22,9 @@
 #ifndef UI_TREE_EDIT_H
 #define UI_TREE_EDIT_H
 
+#include <gdk/gdk.h>
+#include <glib.h>
+#include <gtk/gtk.h>
 
 struct TreeEditData
 {
@@ -83,29 +86,13 @@ gint tree_view_row_make_visible(GtkTreeView *widget, GtkTreeIter *iter, gboolean
  */
 gboolean tree_view_move_cursor_away(GtkTreeView *widget, GtkTreeIter *iter, gboolean only_selected);
 
-/**
- * @headerfile tree_path_to_row
- * utility to return row position of given GtkTreePath
- */
-//gint tree_path_to_row(GtkTreePath *tpath);
-
-
 /**
  * @headerfile shift_color
- * shifts a GdkColor values lighter or darker \n
+ * shifts a GdkRGBA values lighter or darker \n
  * val is percent from 1 to 100, or -1 for default (usually 10%) \n
  * direction is -1 darker, 0 auto, 1 lighter
  */
-void shift_color(GdkColor *src, gshort val, gint direction);
-
-/**
- * @headerfile style_shift_color
- * Shifts a style's color for given state
- * Useful for alternating dark/light rows in lists. \n
- *
- * shift_value is 1 to 100, representing the percent of the shift.
- */
-//void style_shift_color(GtkStyle *style, GtkStateType type, gshort shift_value, gint direction);
+void shift_color(GdkRGBA *src, gshort val, gint direction);
 
 /**
  * @def STYLE_SHIFT_STANDARD