[tepl] io-error-info-bars: shorten function name



commit 28cbb1251bce42d314ac87355bec58fb07171e85
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Mar 24 10:49:00 2020 +0100

    io-error-info-bars: shorten function name

 docs/reference/tepl-4.0-sections.txt | 2 +-
 tepl/tepl-io-error-info-bars.c       | 4 ++--
 tepl/tepl-io-error-info-bars.h       | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/tepl-4.0-sections.txt b/docs/reference/tepl-4.0-sections.txt
index 25a3484..3755f6a 100644
--- a/docs/reference/tepl-4.0-sections.txt
+++ b/docs/reference/tepl-4.0-sections.txt
@@ -291,7 +291,7 @@ TeplInfoBarClass
 
 <SECTION>
 <FILE>io-error-info-bars</FILE>
-tepl_io_error_info_bar_file_already_open_warning_new
+tepl_io_error_info_bar_file_already_open
 tepl_io_error_info_bar_cant_create_backup
 </SECTION>
 
diff --git a/tepl/tepl-io-error-info-bars.c b/tepl/tepl-io-error-info-bars.c
index ba9eec4..80f5cb9 100644
--- a/tepl/tepl-io-error-info-bars.c
+++ b/tepl/tepl-io-error-info-bars.c
@@ -31,7 +31,7 @@
  */
 
 /**
- * tepl_io_error_info_bar_file_already_open_warning_new:
+ * tepl_io_error_info_bar_file_already_open:
  * @location: the #GFile already open in another window.
  *
  * Creates a warning about @location being already open in another window,
@@ -43,7 +43,7 @@
  * Since: 4.6
  */
 TeplInfoBar *
-tepl_io_error_info_bar_file_already_open_warning_new (GFile *location)
+tepl_io_error_info_bar_file_already_open (GFile *location)
 {
        TeplInfoBar *info_bar;
        gchar *uri;
diff --git a/tepl/tepl-io-error-info-bars.h b/tepl/tepl-io-error-info-bars.h
index 0c2ea96..87ca7f5 100644
--- a/tepl/tepl-io-error-info-bars.h
+++ b/tepl/tepl-io-error-info-bars.h
@@ -25,7 +25,7 @@
 
 G_BEGIN_DECLS
 
-TeplInfoBar *  tepl_io_error_info_bar_file_already_open_warning_new    (GFile *location);
+TeplInfoBar *  tepl_io_error_info_bar_file_already_open                (GFile *location);
 
 TeplInfoBar *  tepl_io_error_info_bar_cant_create_backup               (GFile        *location,
                                                                         const GError *error);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]