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/gtkprintoperation.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/gtkprintoperation.c')
-rw-r--r-- | gtk/gtkprintoperation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c index 75212214e6..90b8d8ab5f 100644 --- a/gtk/gtkprintoperation.c +++ b/gtk/gtkprintoperation.c @@ -248,7 +248,7 @@ gtk_print_operation_init (GtkPrintOperation *operation) priv->page_drawing_state = GTK_PAGE_DRAWING_STATE_READY; priv->rloop = NULL; - priv->unit = GTK_UNIT_PIXEL; + priv->unit = GTK_UNIT_NONE; appname = g_get_application_name (); if (appname == NULL) @@ -1233,7 +1233,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class) P_("Unit"), P_("The unit in which distances can be measured in the context"), GTK_TYPE_UNIT, - GTK_UNIT_PIXEL, + GTK_UNIT_NONE, GTK_PARAM_READWRITE)); |