diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2005-09-16 14:25:25 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-09-16 14:25:25 (GMT) |
commit | 8bd2ce770e94a7ff600b4e3d4472a5818064c273 (patch) | |
tree | d9b52f520194bd6d148e04bd2e9737b53dce5017 | |
parent | 6aff12024a5c291d0eaf0dd3ab601b2a4b30d521 (diff) |
Allow negative doubles in left/top properties
2005-09-16 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-link.c: (ev_link_class_init):
Allow negative doubles in left/top properties
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | backend/ev-link.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> + * backend/ev-link.c: (ev_link_class_init): + + Allow negative doubles in left/top properties + +2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> + * shell/ev-window.c: Remove a bunch of strings that was used only diff --git a/backend/ev-link.c b/backend/ev-link.c index cde4355..e1eb91e 100644 --- a/backend/ev-link.c +++ b/backend/ev-link.c @@ -293,7 +293,7 @@ ev_link_class_init (EvLinkClass *ev_window_class) g_param_spec_double ("left", "Left coordinate", "The left coordinate", - 0, + -G_MAXDOUBLE, G_MAXDOUBLE, 0, G_PARAM_READWRITE | @@ -303,7 +303,7 @@ ev_link_class_init (EvLinkClass *ev_window_class) g_param_spec_double ("top", "Top coordinate", "The top coordinate", - 0, + -G_MAXDOUBLE, G_MAXDOUBLE, 0, G_PARAM_READWRITE | |