Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco 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)
commit8bd2ce770e94a7ff600b4e3d4472a5818064c273 (patch)
treed9b52f520194bd6d148e04bd2e9737b53dce5017
parent6aff12024a5c291d0eaf0dd3ab601b2a4b30d521 (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--ChangeLog6
-rw-r--r--backend/ev-link.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a0e6cfe..0eedcc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 |