[gnome-calendar] date-selector: remove hack
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] date-selector: remove hack
- Date: Wed, 14 Sep 2016 19:43:57 +0000 (UTC)
commit e9a5a12d5e750682ea66daf3f8d86eed779492dc
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Sep 14 16:11:33 2016 -0300
date-selector: remove hack
Seems like Gtk+ fixed the positioning code, and we don't
need this hack anymore.
src/gcal-date-selector.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/gcal-date-selector.c b/src/gcal-date-selector.c
index 796964f..41075e9 100644
--- a/src/gcal-date-selector.c
+++ b/src/gcal-date-selector.c
@@ -102,9 +102,6 @@ icon_pressed_cb (GcalDateSelector *self,
gtk_entry_get_icon_area (GTK_ENTRY (self), position, &icon_bounds);
- /* HACK: seems like the popover is 2.5 px misplaced */
- icon_bounds.x += 3;
-
gtk_popover_set_relative_to (GTK_POPOVER (self->date_selector_popover), GTK_WIDGET (self));
gtk_popover_set_pointing_to (GTK_POPOVER (self->date_selector_popover), &icon_bounds);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]