Paste number 61531: zoom

Paste number 61531: zoom
Pasted by: alp
When:1 year, 1 month ago
Share:Tweet this! | http://paste.lisp.org/+1BH7
Channel:#webkit-gtk
Paste contents:
Raw Source | XML | Display As
Index: WebKit/gtk/webkit/webkitwebsettings.cpp
===================================================================
--- WebKit/gtk/webkit/webkitwebsettings.cpp	(revision 34284)
+++ WebKit/gtk/webkit/webkitwebsettings.cpp	(working copy)
@@ -257,8 +257,8 @@ static void webkit_web_settings_class_in
                                     g_param_spec_float(
                                     "zoom-step",
                                     "Zoom Stepping Value",
-                                    "How much the zoom level is changed when zooming in or out.",
-                                    0, G_MAXFLOAT, 0.1,
+                                    "The value by which the zoom level is changed when zooming in or out.",
+                                    0.0f, G_MAXFLOAT, 0.1f,
                                     flags));
 
     g_type_class_add_private(klass, sizeof(WebKitWebSettingsPrivate));
Index: WebKit/gtk/webkit/webkitwebview.cpp
===================================================================
--- WebKit/gtk/webkit/webkitwebview.cpp	(revision 34285)
+++ WebKit/gtk/webkit/webkitwebview.cpp	(working copy)
@@ -1226,7 +1226,7 @@ static void webkit_web_view_class_init(W
                                                        "The level of zoom of the content",
                                                        G_MINFLOAT,
                                                        G_MAXFLOAT,
-                                                       1,
+                                                       1.0f,
                                                        WEBKIT_PARAM_READWRITE));
 
     g_object_class_install_property(objectClass, PROP_FULL_CONTENT_ZOOM,

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.