]> www.fi.muni.cz Git - evince.git/commitdiff
Allow negative doubles in left/top properties
authorMarco Pesenti Gritti <mpg@redhat.com>
Fri, 16 Sep 2005 14:25:25 +0000 (14:25 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Fri, 16 Sep 2005 14:25:25 +0000 (14:25 +0000)
2005-09-16  Marco Pesenti Gritti  <mpg@redhat.com>

        * backend/ev-link.c: (ev_link_class_init):

        Allow negative doubles in left/top properties

ChangeLog
backend/ev-link.c

index a0e6cfeb4feca71f52ae43a08d99149d7da262bf..0eedcc144e5902c335e31025a35b534b1d35d784 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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:
index cde435542310edb43577ec35ea8e482f7719948b..e1eb91ee5c4933761eb5a5d45b7deb3a2eff0d16 100644 (file)
@@ -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 |