[nautilus] Remove some unused code
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Remove some unused code
- Date: Mon, 10 Sep 2012 22:25:13 +0000 (UTC)
commit 3c574442458dfa0ef851b22f0b2dc1452057124b
Author: William Jon McCann <jmccann redhat com>
Date: Mon Sep 10 17:33:25 2012 -0400
Remove some unused code
src/nautilus-list-view.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index c482831..2772b24 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -627,7 +627,6 @@ button_press_callback (GtkWidget *widget, GdkEventButton *event, gpointer callba
static gint64 last_click_time = 0;
static int click_count = 0;
int double_click_time;
- int horizontal_separator;
view = NAUTILUS_LIST_VIEW (callback_data);
tree_view = GTK_TREE_VIEW (widget);
@@ -671,10 +670,6 @@ button_press_callback (GtkWidget *widget, GdkEventButton *event, gpointer callba
call_parent = TRUE;
if (gtk_tree_view_get_path_at_pos (tree_view, event->x, event->y,
&path, NULL, NULL, NULL)) {
- gtk_widget_style_get (widget,
- "horizontal-separator", &horizontal_separator,
- NULL);
-
/* Keep track of path of last click so double clicks only happen
* on the same item */
if ((event->button == 1 || event->button == 2) &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]