summaryrefslogtreecommitdiff
path: root/zea.c
diff options
context:
space:
mode:
authorPeter Hofmann <scm@uninformativ.de>2014-06-14 16:02:10 +0200
committerPeter Hofmann <scm@uninformativ.de>2014-06-14 16:02:53 +0200
commit220e9d89db37c39f40895971ec31004e4942bf92 (patch)
tree4b6bb9eec9fedc2687a8360ea3e13a29606d1b65 /zea.c
parentd96eb7cfc8e0d02da8ad2f50880ac23c4d719a53 (diff)
downloadlariza-220e9d89db37c39f40895971ec31004e4942bf92.tar.gz
g-data types
Diffstat (limited to 'zea.c')
-rw-r--r--zea.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/zea.c b/zea.c
index b39f305..a2f18ba 100644
--- a/zea.c
+++ b/zea.c
@@ -23,13 +23,13 @@ static gboolean zea_new_client_request(WebKitWebView *, WebKitWebFrame *,
WebKitWebPolicyDecision *, gpointer);
static void zea_title_changed(GObject *, GParamSpec *, gpointer);
static void zea_uri_changed(GObject *, GParamSpec *, gpointer);
-static void zea_scroll(GtkAdjustment *, int, gdouble);
+static void zea_scroll(GtkAdjustment *, gint, gdouble);
static gboolean zea_web_view_key(GtkWidget *, GdkEvent *, gpointer);
static Window embed = 0;
-static int clients = 0;
-static double global_zoom = 1.0;
+static gint clients = 0;
+static gdouble global_zoom = 1.0;
struct Client
@@ -65,7 +65,7 @@ zea_do_download(WebKitWebView *web_view, WebKitDownload *download, gpointer data
{
const gchar *uri;
char id[16] = "";
- int ret;
+ gint ret;
(void)web_view;
(void)data;
@@ -250,7 +250,7 @@ zea_uri_changed(GObject *obj, GParamSpec *pspec, gpointer data)
}
void
-zea_scroll(GtkAdjustment *a, int step_type, gdouble factor)
+zea_scroll(GtkAdjustment *a, gint step_type, gdouble factor)
{
gdouble new, lower, upper, step;
lower = gtk_adjustment_get_lower(a);