summaryrefslogtreecommitdiff
path: root/pluma/pluma-documents-panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'pluma/pluma-documents-panel.c')
-rw-r--r--pluma/pluma-documents-panel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pluma/pluma-documents-panel.c b/pluma/pluma-documents-panel.c
index 68a6a5d6..62ded929 100644
--- a/pluma/pluma-documents-panel.c
+++ b/pluma/pluma-documents-panel.c
@@ -515,7 +515,7 @@ menu_position (GtkMenu *menu,
{
GtkTreePath *path;
GdkRectangle rect;
- gint wx, wy;
+ gint wy;
GtkAllocation allocation;
GtkRequisition requisition;
GtkWidget *w;
@@ -531,7 +531,6 @@ menu_position (GtkMenu *menu,
NULL,
&rect);
- wx = rect.x;
wy = rect.y;
gdk_window_get_origin (gtk_widget_get_window (w), x, y);