[hackers] [surf] s/zoompage/zoom/ || Enno Boland (tox)

From: <hg_AT_suckless.org>
Date: Mon, 7 Sep 2009 07:50:19 +0000 (UTC)

changeset: 61:2ca4a93b7adf
tag: tip
user: Enno Boland (tox) <tox_AT_s01.de>
date: Mon Sep 07 09:51:51 2009 +0200
files: config.h surf.c
description:
s/zoompage/zoom/

diff -r 4e18b2d4dce6 -r 2ca4a93b7adf config.h
--- a/config.h Mon Sep 07 09:48:28 2009 +0200
+++ b/config.h Mon Sep 07 09:51:51 2009 +0200
@@ -17,9 +17,10 @@
     { 0, GDK_Return, hideurl, {0}, URLBAR },
     { GDK_CONTROL_MASK, GDK_p, clipboard, {.b = TRUE }, BROWSER },
     { GDK_CONTROL_MASK, GDK_y, clipboard, {.b = FALSE}, BROWSER },
- { GDK_CONTROL_MASK, GDK_plus, zoompage, {.i = +1 }, BROWSER },
- { GDK_CONTROL_MASK, GDK_minus, zoompage, {.i = -1 }, BROWSER },
- { GDK_CONTROL_MASK, GDK_0, zoompage, {.i = 0 }, BROWSER },
+ { GDK_CONTROL_MASK, GDK_equal, zoom, {.i = +1 }, BROWSER },
+ { GDK_CONTROL_MASK, GDK_plus, zoom, {.i = +1 }, BROWSER },
+ { GDK_CONTROL_MASK, GDK_minus, zoom, {.i = -1 }, BROWSER },
+ { GDK_CONTROL_MASK, GDK_0, zoom, {.i = 0 }, BROWSER },
     { GDK_CONTROL_MASK, GDK_l, navigate, {.i = +1}, BROWSER },
     { GDK_CONTROL_MASK, GDK_h, navigate, {.i = -1}, BROWSER },
     { 0, GDK_Escape, stop, {0}, BROWSER },
diff -r 4e18b2d4dce6 -r 2ca4a93b7adf surf.c
--- a/surf.c Mon Sep 07 09:48:28 2009 +0200
+++ b/surf.c Mon Sep 07 09:51:51 2009 +0200
@@ -108,7 +108,7 @@
 static void titlechange(WebKitWebView* view, WebKitWebFrame* frame, const gchar* title, Client *c);
 static void usage();
 static void updatetitle(Client *c, const gchar *title);
-static void zoompage(Client *c, const Arg *arg);
+static void zoom(Client *c, const Arg *arg);
 
 #include "config.h"
 
@@ -563,7 +563,7 @@
 }
 
 void
-zoompage(Client *c, const Arg *arg) {
+zoom(Client *c, const Arg *arg) {
         if(arg->i < 0) /* zoom out */
                 webkit_web_view_zoom_out(c->view);
         else if(arg->i > 0) /* zoom in */
Received on Mon Sep 07 2009 - 07:50:19 UTC

This archive was generated by hypermail 2.2.0 : Mon Sep 07 2009 - 08:00:08 UTC