From: Andy Spencer Date: Mon, 25 May 2009 13:18:21 +0000 (+0000) Subject: pointer motion X-Git-Tag: v0.1~8 X-Git-Url: http://pileus.org/git/?p=aweather;a=commitdiff_plain;h=2cff8bb49022174ae7dba40c83dcecc94f5d2193 pointer motion --- diff --git a/data/main.glade b/data/main.glade index 38fca62..bc8daa6 100644 --- a/data/main.glade +++ b/data/main.glade @@ -1,6 +1,6 @@ - + @@ -250,9 +250,10 @@ True True True - GDK_POINTER_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_STRUCTURE_MASK + GDK_POINTER_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK | GDK_STRUCTURE_MASK + diff --git a/src/aweather-plugin.h b/src/aweather-plugin.h index 7112e64..3d95646 100644 --- a/src/aweather-plugin.h +++ b/src/aweather-plugin.h @@ -37,7 +37,7 @@ struct _AWeatherPluginInterface void (*expose)(AWeatherPlugin *self); }; -GType aweather_plugin_get_type(void); +GType aweather_plugin_get_type(); void aweather_plugin_expose(AWeatherPlugin *self); diff --git a/src/plugin-radar.c b/src/plugin-radar.c index 355f93d..e17d5a2 100644 --- a/src/plugin-radar.c +++ b/src/plugin-radar.c @@ -371,7 +371,7 @@ static void on_site_changed(AWeatherView *view, char *site, gpointer _self) g_free(time); } -static void on_refresh(AWeatherView *view, gpointer user_data, gpointer _self) +static void on_refresh(AWeatherView *view, gpointer _self) { AWeatherRadar *self = AWEATHER_RADAR(_self); char *site = aweather_view_get_site(view);