[nautilus/wip/oholy/properties-window-critical-fix] properties-window: Remove unused parameter
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/oholy/properties-window-critical-fix] properties-window: Remove unused parameter
- Date: Tue, 24 Sep 2019 16:26:19 +0000 (UTC)
commit 88ba32864d2f28448cc4445cf825d6f28e607453
Author: Ondrej Holy <oholy redhat com>
Date: Tue Sep 24 18:25:42 2019 +0200
properties-window: Remove unused parameter
The cancel_destroy_handler parameter is not used by remove_pending()
function. Let's remove it to make the code simpler.
src/nautilus-properties-window.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index 0909f2d45..d19a7e196 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -199,8 +199,7 @@ static void set_icon (const char *icon_path,
NautilusPropertiesWindow *properties_window);
static void remove_pending (StartupData *data,
gboolean cancel_call_when_ready,
- gboolean cancel_timed_wait,
- gboolean cancel_destroy_handler);
+ gboolean cancel_timed_wait);
static void append_extension_pages (NautilusPropertiesWindow *window);
static void name_field_focus_changed (GObject *object,
@@ -5240,7 +5239,7 @@ properties_window_finish (StartupData *data)
data);
}
- remove_pending (data, TRUE, FALSE, FALSE);
+ remove_pending (data, TRUE, FALSE);
startup_data_free (data);
}
@@ -5273,8 +5272,7 @@ cancel_call_when_ready_callback (gpointer key,
static void
remove_pending (StartupData *startup_data,
gboolean cancel_call_when_ready,
- gboolean cancel_timed_wait,
- gboolean cancel_destroy_handler)
+ gboolean cancel_timed_wait)
{
if (cancel_call_when_ready)
{
@@ -5326,7 +5324,7 @@ is_directory_ready_callback (NautilusFile *file,
add_window (new_window);
startup_data->window = new_window;
- remove_pending (startup_data, FALSE, TRUE, TRUE);
+ remove_pending (startup_data, FALSE, TRUE);
gtk_window_present (GTK_WINDOW (new_window));
g_signal_connect(GTK_WIDGET (new_window), "destroy",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]