cc-crop-area: fix unused variable warnings
Change-Id: I694d0fddd0ba774c751f069bc1f4907b00fb7950
Reviewed-by: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
diff --git a/src/cc-crop-area.c b/src/cc-crop-area.c
index 33c7e3e..234703e 100644
--- a/src/cc-crop-area.c
+++ b/src/cc-crop-area.c
@@ -1,6 +1,7 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
*
* Copyright 2009 Red Hat, Inc,
+ * Copyright (C) 2017 Savoir-faire Linux Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -660,7 +661,7 @@
static gboolean
cc_crop_area_button_release_event (GtkWidget *widget,
- GdkEventButton *event)
+ G_GNUC_UNUSED GdkEventButton *event)
{
CcCropArea *area = CC_CROP_AREA (widget);
GdkRectangle crop;
diff --git a/src/ringmainwindow.cpp b/src/ringmainwindow.cpp
index 90f954d..c9a8131 100644
--- a/src/ringmainwindow.cpp
+++ b/src/ringmainwindow.cpp
@@ -790,7 +790,7 @@
}
static gboolean
-search_entry_key_released(GtkEntry *search_entry, GdkEventKey *key, RingMainWindow *self)
+search_entry_key_released(G_GNUC_UNUSED GtkEntry *search_entry, GdkEventKey *key, RingMainWindow *self)
{
RingMainWindowPrivate *priv = RING_MAIN_WINDOW_GET_PRIVATE(self);