]> git.armaanb.net Git - chorizo.git/commitdiff
g-data types
authorPeter Hofmann <scm@uninformativ.de>
Sat, 14 Jun 2014 14:02:10 +0000 (16:02 +0200)
committerPeter Hofmann <scm@uninformativ.de>
Sat, 14 Jun 2014 14:02:53 +0000 (16:02 +0200)
zea.c

diff --git a/zea.c b/zea.c
index b39f305919fe92d66ad40884d585ee3cd3a790c6..a2f18baffc07251a475e6abf757e9a6e8d475f0b 100644 (file)
--- 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);