[gnome-documents] build: fix some compilation warnings
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] build: fix some compilation warnings
- Date: Tue, 28 Feb 2012 17:05:20 +0000 (UTC)
commit 588828f7726ee255aa6bde6921cfa3d0f95cf07a
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Feb 28 09:03:47 2012 -0500
build: fix some compilation warnings
src/lib/gd-main-list-view.c | 1 -
src/lib/gd-main-view.c | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/lib/gd-main-list-view.c b/src/lib/gd-main-list-view.c
index c5d4c0d..18e4242 100644
--- a/src/lib/gd-main-list-view.c
+++ b/src/lib/gd-main-list-view.c
@@ -47,7 +47,6 @@ static void
gd_main_list_view_constructed (GObject *obj)
{
GdMainListView *self = GD_MAIN_LIST_VIEW (obj);
- GtkTreeViewColumn *col;
GtkCellRenderer *cell;
GtkTreeSelection *selection;
diff --git a/src/lib/gd-main-view.c b/src/lib/gd-main-view.c
index af15a7b..b796c9e 100644
--- a/src/lib/gd-main-view.c
+++ b/src/lib/gd-main-view.c
@@ -254,7 +254,7 @@ on_button_release_event (GtkWidget *view,
if (!selection_mode)
{
if ((event->button == 3) ||
- (event->button == 1) && (event->state & GDK_CONTROL_MASK))
+ ((event->button == 1) && (event->state & GDK_CONTROL_MASK)))
{
g_signal_emit (self, signals[SELECTION_MODE_REQUEST], 0);
selection_mode = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]