summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2c24331)
raw | patch | inline | side by side (parent: 2c24331)
author | rwst <rwst@users.sourceforge.net> | |
Fri, 24 Feb 2006 18:10:36 +0000 (18:10 +0000) | ||
committer | rwst <rwst@users.sourceforge.net> | |
Fri, 24 Feb 2006 18:10:36 +0000 (18:10 +0000) |
src/widgets/gradient-vector.cpp | patch | blob | history |
index ccb36a3ec6bc0798787de7dc020249e5f9727fb8..15c19da0eaec1532b42036f5435f0ded365e1fa3 100644 (file)
gtk_window_get_position ((GtkWindow *) dlg, &x, &y);
gtk_window_get_size ((GtkWindow *) dlg, &w, &h);
+ if (x<0) x=0;
+ if (y<0) y=0;
+
prefs_set_int_attribute (prefs_path, "x", x);
prefs_set_int_attribute (prefs_path, "y", y);
prefs_set_int_attribute (prefs_path, "w", w);