[PATCH 10/16] src/planner-popup-button.c, fix warning: variable 'priv' set but not used



Signed-off-by: Tinggong Wang <wangtinggong gmail com>
---
 src/planner-popup-button.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/planner-popup-button.c b/src/planner-popup-button.c
index 1881786..86ce562 100644
--- a/src/planner-popup-button.c
+++ b/src/planner-popup-button.c
@@ -130,15 +130,12 @@ popup_button_press_event_cb (GtkWidget          *popup_window,
 			     GdkEventButton     *event,
 			     PlannerPopupButton *popup_button)
 {
-	PlannerPopupButtonPriv *priv;
 	GtkAllocation           alloc;
 	gdouble                 x, y;
 	gint                    xoffset, yoffset;
 	gint                    x1, y1;
 	gint                    x2, y2;
 
-	priv = GET_PRIV (popup_button);
-
 	/* Popdown the window if the click is outside of it. */
 
 	if (event->button != 1) {
-- 
1.7.6.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]