pointer motion
authorAndy Spencer <andy753421@gmail.com>
Mon, 25 May 2009 13:18:21 +0000 (13:18 +0000)
committerAndy Spencer <andy753421@gmail.com>
Mon, 25 May 2009 13:18:21 +0000 (13:18 +0000)
data/main.glade
src/aweather-plugin.h
src/plugin-radar.c

index 38fca62..bc8daa6 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
-<!--Generated with glade3 3.4.5 on Mon May 25 12:26:08 2009 -->
+<!--Generated with glade3 3.4.5 on Mon May 25 13:14:23 2009 -->
 <glade-interface>
   <widget class="GtkWindow" id="window">
     <child>
                     <property name="can_default">True</property>
                     <property name="has_default">True</property>
                     <property name="receives_default">True</property>
-                    <property name="events">GDK_POINTER_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_STRUCTURE_MASK</property>
+                    <property name="events">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</property>
                     <signal name="button_press_event" handler="on_drawing_button_press"/>
                     <signal name="key_press_event" handler="on_drawing_key_press"/>
+                    <signal name="enter_notify_event" handler="on_drawing_button_press"/>
                   </widget>
                 </child>
                 <child>
index 7112e64..3d95646 100644 (file)
@@ -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);
 
index 355f93d..e17d5a2 100644 (file)
@@ -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);