diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-02-20 13:24:33 +0000 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-05-03 18:30:48 -0700 |
commit | 88c63903a5eeac40ef2cd210468705c20f580596 (patch) | |
tree | 4baae0ab092059cd13105022e1faea8459167bfa /gtk/gtkprintutils.c | |
parent | 154ce014a8ff6961ace3a78359f3ca9aed2e681b (diff) | |
download | gtk+-88c63903a5eeac40ef2cd210468705c20f580596.tar.gz |
printing: Rename GTK_UNIT_PIXEL to GTK_UNIT_NONE
...and document that many functions don't accept "none" as a unit.
https://bugzilla.gnome.org/show_bug.cgi?id=460908
Diffstat (limited to 'gtk/gtkprintutils.c')
-rw-r--r-- | gtk/gtkprintutils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkprintutils.c b/gtk/gtkprintutils.c index 07a50ba6c4..35affcf6e9 100644 --- a/gtk/gtkprintutils.c +++ b/gtk/gtkprintutils.c @@ -30,7 +30,6 @@ _gtk_print_convert_to_mm (gdouble len, case GTK_UNIT_INCH: return len * MM_PER_INCH; default: - case GTK_UNIT_PIXEL: g_warning ("Unsupported unit"); /* Fall through */ case GTK_UNIT_POINTS: @@ -50,7 +49,6 @@ _gtk_print_convert_from_mm (gdouble len, case GTK_UNIT_INCH: return len / MM_PER_INCH; default: - case GTK_UNIT_PIXEL: g_warning ("Unsupported unit"); /* Fall through */ case GTK_UNIT_POINTS: |