summaryrefslogtreecommitdiff
path: root/gtk/gtkentrycompletion.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-09-13 14:15:03 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-09-13 14:15:03 +0000
commit633bc9cad54f695941e3f888ac87d2ebd35a0cc2 (patch)
treeac063ff9b5da92794ecbf5d859d48f9d4912f2b7 /gtk/gtkentrycompletion.c
parentd04d99e9475c9cd7c44a4353abeb5286c309301e (diff)
downloadgtk+-633bc9cad54f695941e3f888ac87d2ebd35a0cc2.tar.gz
Improve positioning of entry completion popup.
2004-09-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): Improve positioning of entry completion popup.
Diffstat (limited to 'gtk/gtkentrycompletion.c')
-rw-r--r--gtk/gtkentrycompletion.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index f2abe951c2..61f2b10f24 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -1279,8 +1279,6 @@ _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion)
gdk_window_get_origin (completion->priv->entry->window, &x, &y);
get_borders (GTK_ENTRY (completion->priv->entry), &x_border, &y_border);
- x += x_border;
- y += 2 * y_border;
matches = gtk_tree_model_iter_n_children (GTK_TREE_MODEL (completion->priv->filter_model), NULL);