[gnome-commander] advrename: removal of duplicate code
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] advrename: removal of duplicate code
- Date: Tue, 26 Jul 2011 20:20:23 +0000 (UTC)
commit 770ae6962e31a259aa6875040880b9f3ddaf9365
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Tue Jul 26 22:18:22 2011 +0200
advrename: removal of duplicate code
src/dialogs/gnome-cmd-advrename-dialog.cc | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-advrename-dialog.cc b/src/dialogs/gnome-cmd-advrename-dialog.cc
index 4de5133..f5b3e73 100644
--- a/src/dialogs/gnome-cmd-advrename-dialog.cc
+++ b/src/dialogs/gnome-cmd-advrename-dialog.cc
@@ -85,7 +85,6 @@ struct GnomeCmdAdvrenameDialog::Private
static gboolean on_dialog_delete (GtkWidget *widget, GdkEvent *event, GnomeCmdAdvrenameDialog *dialog);
static void on_dialog_size_allocate (GtkWidget *widget, GtkAllocation *allocation, GnomeCmdAdvrenameDialog *dialog);
static void on_dialog_response (GnomeCmdAdvrenameDialog *dialog, int response_id, gpointer data);
- static void on_dialog_destroy (GnomeCmdAdvrenameDialog *dialog, gpointer data);
};
@@ -500,12 +499,6 @@ void GnomeCmdAdvrenameDialog::Private::on_dialog_response (GnomeCmdAdvrenameDial
}
-void GnomeCmdAdvrenameDialog::Private::on_dialog_destroy (GnomeCmdAdvrenameDialog *dialog, gpointer)
-{
- dialog->priv->profile_component->copy();
-}
-
-
static void gnome_cmd_advrename_dialog_init (GnomeCmdAdvrenameDialog *dialog)
{
dialog->priv = new GnomeCmdAdvrenameDialog::Private;
@@ -714,7 +707,6 @@ GnomeCmdAdvrenameDialog::GnomeCmdAdvrenameDialog(GnomeCmdData::AdvrenameConfig &
g_signal_connect (this, "delete-event", G_CALLBACK (Private::on_dialog_delete), this);
g_signal_connect (this, "size-allocate", G_CALLBACK (Private::on_dialog_size_allocate), this);
g_signal_connect (this, "response", G_CALLBACK (Private::on_dialog_response), this);
- g_signal_connect (this, "destroy", G_CALLBACK (Private::on_dialog_destroy), this);
gnome_cmd_advrename_parse_template (priv->profile_component->get_template_entry(), priv->template_has_counters);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]