Mercurial > geeqie
comparison src/ui_tree_edit.c @ 1810:c416d099a3dc
GTK marks several functions as deprecated
The following functions has been replaced and deprecated by version
2.20:
- GTK_WIDGET_CAN_FOCUS
- GTK_WIDGET_DRAWABLE
- GTK_WIDGET_HAS_FOCUS
- GTK_WIDGET_HAS_GRAB
- GTK_WIDGET_IS_SENSITIVE
- GTK_WIDGET_NO_WINDOW
- GTK_WIDGET_REALIZED
- GTK_WIDGET_SENSITIVE
- GTK_WIDGET_STATE
- GTK_WIDGET_TOPLEVEL
- GTK_WIDGET_VISIBLE
author | mow |
---|---|
date | Mon, 10 May 2010 11:32:56 +0000 |
parents | 956aab097ea7 |
children |
comparison
equal
deleted
inserted
replaced
1809:e1c18f81e637 | 1810:c416d099a3dc |
---|---|
182 GtkCellRenderer *cell = NULL; | 182 GtkCellRenderer *cell = NULL; |
183 GList *list; | 183 GList *list; |
184 GList *work; | 184 GList *work; |
185 | 185 |
186 if (!edit_func) return FALSE; | 186 if (!edit_func) return FALSE; |
187 #if GTK_CHECK_VERSION(2,20,0) | |
188 if (!gtk_widget_get_visible(tree)) return FALSE; | |
189 #else | |
187 if (!GTK_WIDGET_VISIBLE(tree)) return FALSE; | 190 if (!GTK_WIDGET_VISIBLE(tree)) return FALSE; |
191 #endif | |
188 | 192 |
189 tcolumn = gtk_tree_view_get_column(tree, column); | 193 tcolumn = gtk_tree_view_get_column(tree, column); |
190 if (!tcolumn) return FALSE; | 194 if (!tcolumn) return FALSE; |
191 | 195 |
192 #if GTK_CHECK_VERSION(2,18,0) | 196 #if GTK_CHECK_VERSION(2,18,0) |