summaryrefslogtreecommitdiff
path: root/gtk/gtktextiter.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-11-08 22:34:38 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-11-08 22:34:38 +0000
commit2d1ce5a4fb9da6f0f26bd658310cf057eb08bf8b (patch)
tree6f353519123dcc0de03f49aa864dbcdf4e6e7545 /gtk/gtktextiter.c
parentb179b5eba4c4ab4bd764a566f60f70203abe2dc0 (diff)
downloadgtk+-2d1ce5a4fb9da6f0f26bd658310cf057eb08bf8b.tar.gz
Put into #ifdef DO_BLINK to avoid an unused static function. (#97965)
* tests/testtext.c (blink_timeout): Put into #ifdef DO_BLINK to avoid an unused static function. (#97965) * gtk/gtktextiter.c (backward_line_leaving_caches_unmodified): * gtk/gtkstyle.c (radio_aa_bits): (draw_spin_entry_shadow): #if-0-out unused static functions and variables. (#97965) * gtk/gtktextview.c (text_window_get_allocation): * gtk/gtkcolorsel.c (gtk_color_selection_get_palette_size): (gtk_color_selection_get_palette_color): (gtk_color_selection_unset_palette_color): Remove unused static functions. (#97965) * gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_with_screen_hook): Fix doc comment.
Diffstat (limited to 'gtk/gtktextiter.c')
-rw-r--r--gtk/gtktextiter.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c
index 6c6cd7fb54..d81e1847f9 100644
--- a/gtk/gtktextiter.c
+++ b/gtk/gtktextiter.c
@@ -1834,10 +1834,14 @@ forward_line_leaving_caches_unmodified (GtkTextRealIter *real)
}
}
-
+#if 0
/* The return value of this indicates WHETHER WE MOVED.
* The return value of public functions indicates
* (MOVEMENT OCCURRED && NEW ITER IS DEREFERENCEABLE)
+ *
+ * This function is currently unused, thus it is #if-0-ed. It is
+ * left here, since it's non-trivial code that might be useful in
+ * the future.
*/
static gboolean
backward_line_leaving_caches_unmodified (GtkTextRealIter *real)
@@ -1878,6 +1882,7 @@ backward_line_leaving_caches_unmodified (GtkTextRealIter *real)
return FALSE;
}
}
+#endif
/* The return value indicates (MOVEMENT OCCURRED && NEW ITER IS
* DEREFERENCEABLE)