[gnome-builder/auto-indent] auto-indent: shorten function names.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/auto-indent] auto-indent: shorten function names.
- Date: Thu, 18 Sep 2014 21:47:36 +0000 (UTC)
commit 21a76e73441c305e996772c0c60aad2510b4d43f
Author: Christian Hergert <christian hergert me>
Date: Thu Sep 18 14:47:31 2014 -0700
auto-indent: shorten function names.
src/editor/gb-source-auto-indenter-c.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/editor/gb-source-auto-indenter-c.c b/src/editor/gb-source-auto-indenter-c.c
index 726b0a7..54782ae 100644
--- a/src/editor/gb-source-auto-indenter-c.c
+++ b/src/editor/gb-source-auto-indenter-c.c
@@ -440,9 +440,9 @@ line_is_whitespace_until (GtkTextIter *iter)
}
static gchar *
-gb_source_auto_indenter_c_maybe_close_comment (GbSourceAutoIndenterC *c,
- GtkTextIter *begin,
- GtkTextIter *end)
+maybe_close_comment (GbSourceAutoIndenterC *c,
+ GtkTextIter *begin,
+ GtkTextIter *end)
{
GtkTextIter copy;
GtkTextIter begin_comment;
@@ -473,9 +473,9 @@ gb_source_auto_indenter_c_maybe_close_comment (GbSourceAutoIndenterC *c,
}
static gchar *
-gb_source_auto_indenter_c_maybe_unindent_brace (GbSourceAutoIndenterC *c,
- GtkTextIter *begin,
- GtkTextIter *end)
+maybe_unindent_brace (GbSourceAutoIndenterC *c,
+ GtkTextIter *begin,
+ GtkTextIter *end)
{
GtkTextIter saved;
gchar *ret = NULL;
@@ -601,7 +601,7 @@ gb_source_auto_indenter_c_format (GbSourceAutoIndenter *indenter,
/*
* Probably need to unindent this line.
*/
- ret = gb_source_auto_indenter_c_maybe_unindent_brace (c, begin, end);
+ ret = maybe_unindent_brace (c, begin, end);
break;
case GDK_KEY_colon:
@@ -629,7 +629,7 @@ gb_source_auto_indenter_c_format (GbSourceAutoIndenter *indenter,
* Check to see if we are right after a "* " and typing "/" while inside
* of a multi-line comment. Probably just want to close the comment.
*/
- ret = gb_source_auto_indenter_c_maybe_close_comment (c, begin, end);
+ ret = maybe_close_comment (c, begin, end);
break;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]