[gedit/file_too_big: 8/11] Remove unused param




commit 24c65c0b4e18872128c9cfd8e3560c69bbfb1b47
Author: Jordi Mas <jmas softcatala org>
Date:   Mon Mar 22 21:54:52 2021 +0100

    Remove unused param

 gedit/gedit-io-error-info-bar.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gedit/gedit-io-error-info-bar.c b/gedit/gedit-io-error-info-bar.c
index 86e5b3f3b..62e5bbf99 100644
--- a/gedit/gedit-io-error-info-bar.c
+++ b/gedit/gedit-io-error-info-bar.c
@@ -431,8 +431,7 @@ create_primary_and_secondary_widgets_info_bar(GtkWidget *vbox, const gchar *prim
 
 static GtkWidget *
 create_file_too_big_error_info_bar (const gchar *primary_text,
-                                 const gchar *secondary_text,
-                                 gboolean     edit_anyway)
+                                 const gchar *secondary_text)
 {
        GtkWidget *info_bar;
        GtkWidget *hbox_content;
@@ -610,8 +609,7 @@ gedit_io_loading_error_info_bar_new (GFile                   *location,
        if (file_too_big)
        {
                info_bar = create_file_too_big_error_info_bar (error_message,
-                                                            message_details,
-                                                            edit_anyway);
+                                                            message_details);
        }
        else if (convert_error)
        {


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