[gedit/wip/previous-search-behavior: 1/2] Replace dialog: create the SearchContext only when a button is pressed
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/previous-search-behavior: 1/2] Replace dialog: create the SearchContext only when a button is pressed
- Date: Tue, 17 Sep 2013 15:53:11 +0000 (UTC)
commit c98fa042e5fd8ca46fff07bff9d90a9c2fdcd057
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue Sep 17 17:42:08 2013 +0200
Replace dialog: create the SearchContext only when a button is pressed
gedit/gedit-replace-dialog.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/gedit/gedit-replace-dialog.c b/gedit/gedit-replace-dialog.c
index 8dfd08e..98905c6 100644
--- a/gedit/gedit-replace-dialog.c
+++ b/gedit/gedit-replace-dialog.c
@@ -545,12 +545,6 @@ show_cb (GeditReplaceDialog *dialog)
return;
}
- g_signal_connect_object (window,
- "active-tab-changed",
- G_CALLBACK (connect_active_document),
- dialog,
- G_CONNECT_SWAPPED);
-
doc = get_active_document (dialog);
if (doc == NULL)
@@ -581,18 +575,12 @@ show_cb (GeditReplaceDialog *dialog)
g_free (escaped_selection);
}
- connect_active_document (dialog);
-
g_free (selection);
}
static void
hide_cb (GeditReplaceDialog *dialog)
{
- GeditWindow *window = get_gedit_window (dialog);
-
- g_signal_handlers_disconnect_by_func (window, connect_active_document, dialog);
-
disconnect_document (dialog);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]