[Xfce4-commits] <xfce4-settings:master> Remove some useless code.
Jérôme Guelfucci
noreply at xfce.org
Tue Jan 19 19:34:22 CET 2010
Updating branch refs/heads/master
to 77f42415e743f2404d4c66609514f02ab49f5fcd (commit)
from 524e78aa85f5172fb294c23998372e2df18ffc0e (commit)
commit 77f42415e743f2404d4c66609514f02ab49f5fcd
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sat Jan 9 15:03:18 2010 +0100
Remove some useless code.
xfce4-settings-editor/main_window.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/xfce4-settings-editor/main_window.c b/xfce4-settings-editor/main_window.c
index 030556e..19770c9 100644
--- a/xfce4-settings-editor/main_window.c
+++ b/xfce4-settings-editor/main_window.c
@@ -66,7 +66,6 @@ static void
cb_property_treeview_selection_changed (GtkTreeSelection *selection, GtkBuilder *builder);
static void
cb_property_treeview_row_activated (GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column, GtkBuilder *builder);
-
static void
cb_property_new_button_clicked (GtkButton *button, GtkBuilder *builder);
static void
@@ -899,8 +898,6 @@ static void
cb_property_revert_button_clicked (GtkButton *button, GtkBuilder *builder)
{
GtkWidget *dialog;
- GObject *property_treeview;
- GtkTreeModel *tree_store = NULL;
dialog = gtk_message_dialog_new_with_markup (
GTK_WINDOW (gtk_builder_get_object (builder, "main_window")),
@@ -910,8 +907,6 @@ cb_property_revert_button_clicked (GtkButton *button, GtkBuilder *builder)
if (gtk_dialog_run (GTK_DIALOG(dialog)) == GTK_RESPONSE_YES)
{
- property_treeview = gtk_builder_get_object (builder, "property_treeview");
- tree_store = gtk_tree_view_get_model (GTK_TREE_VIEW (property_treeview));
gtk_widget_hide (dialog);
xfconf_channel_reset_property (current_channel, current_property, FALSE);
}
More information about the Xfce4-commits
mailing list