]> Pileus Git - aweather/blobdiff - src/plugins/alert.c
Fix missing arguments
[aweather] / src / plugins / alert.c
index e1d6c91a80409552d0653a03d899b3c42a961f46..4302dd2599c222d35ef18d95fb6732e33b9b10fb 100644 (file)
@@ -397,7 +397,7 @@ gboolean fips_group_state(gpointer key, gpointer value, gpointer data)
        GList  *counties = value;
        GList **states   = data;
        GritsPoly *poly  = fips_combine(counties);
-       GRITS_OBJECT(poly)->lod = EARTH_R/5;
+       GRITS_OBJECT(poly)->lod = EARTH_R/10;
        *states = g_list_prepend(*states, poly);
        g_list_free(counties);
        return FALSE;
@@ -497,7 +497,7 @@ static GtkWidget *_find_details(GtkNotebook *notebook, AlertMsg *msg)
        return NULL;
 }
 
-static void _show_details(GritsPoly *county, GritsPluginAlert *alert)
+static void _show_details(GritsPoly *county, GdkEvent *_, GritsPluginAlert *alert)
 {
        /* Add details for this messages */
        AlertMsg *msg = g_object_get_data(G_OBJECT(county), "msg");
@@ -523,7 +523,7 @@ static void _show_details(GritsPoly *county, GritsPluginAlert *alert)
 }
 
 /* Update counties */
-static void _alert_leave(GritsPoly *county, GritsPluginAlert *alert)
+static void _alert_leave(GritsPoly *county, GdkEvent *_, GritsPluginAlert *alert)
 {
        g_debug("_alert_leave");
        if (county->width == 3) {
@@ -535,7 +535,7 @@ static void _alert_leave(GritsPoly *county, GritsPluginAlert *alert)
        grits_object_queue_draw(GRITS_OBJECT(county));
 }
 
-static void _alert_enter(GritsPoly *county, GritsPluginAlert *alert)
+static void _alert_enter(GritsPoly *county, GdkEvent *_, GritsPluginAlert *alert)
 {
        g_debug("_alert_enter");
        if (county->width == 3) {