~ubuntu-branches/ubuntu/vivid/cairo-dock-plug-ins/vivid

« back to all changes in this revision

Viewing changes to musicPlayer/src/applet-init.c

  • Committer: Matthieu Baerts
  • Date: 2013-08-27 14:46:47 UTC
  • mto: (53.1.4 cairo-dock-plug-ins)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: matttbe@gmail.com-20130827144647-wm0kyawa8vcg0cso
Tags: upstream-3.2.99.beta1.1~20130827~bzr2928
ImportĀ upstreamĀ versionĀ 3.2.99.beta1.1~20130827~bzr2928

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
                CD_APPLET_REGISTER_FOR_UPDATE_ICON_SLOW_EVENT;  // pour les animation de transitions.
130
130
                if (myDesklet)  // On ne teste le survol des boutons que si l'applet est detachee
131
131
                {
132
 
                        cairo_dock_register_notification_on_object (myContainer,
 
132
                        gldi_object_register_notification (myContainer,
133
133
                                NOTIFICATION_MOUSE_MOVED,
134
 
                                (CairoDockNotificationFunc) cd_opengl_test_mouse_over_buttons,
135
 
                                CAIRO_DOCK_RUN_AFTER,
 
134
                                (GldiNotificationFunc) cd_opengl_test_mouse_over_buttons,
 
135
                                GLDI_RUN_AFTER,
136
136
                                myApplet);
137
137
                }
138
138
        }
146
146
        CD_APPLET_UNREGISTER_FOR_BUILD_MENU_EVENT;
147
147
        CD_APPLET_UNREGISTER_FOR_DROP_DATA_EVENT;
148
148
        CD_APPLET_UNREGISTER_FOR_SCROLL_EVENT;
149
 
        cairo_dock_remove_notification_func_on_object (myContainer,
 
149
        gldi_object_remove_notification (myContainer,
150
150
                NOTIFICATION_MOUSE_MOVED,
151
 
                (CairoDockNotificationFunc) cd_opengl_test_mouse_over_buttons,
 
151
                (GldiNotificationFunc) cd_opengl_test_mouse_over_buttons,
152
152
                myApplet);
153
153
        
154
154
        // stop the current handler.
198
198
                }
199
199
                
200
200
                CD_APPLET_UNREGISTER_FOR_UPDATE_ICON_SLOW_EVENT;
201
 
                cairo_dock_remove_notification_func_on_object (CD_APPLET_MY_OLD_CONTAINER,
 
201
                gldi_object_remove_notification (CD_APPLET_MY_OLD_CONTAINER,
202
202
                        NOTIFICATION_MOUSE_MOVED,
203
 
                        (CairoDockNotificationFunc) cd_opengl_test_mouse_over_buttons,
 
203
                        (GldiNotificationFunc) cd_opengl_test_mouse_over_buttons,
204
204
                        myApplet);
205
205
                
206
206
                if (CD_APPLET_MY_CONTAINER_IS_OPENGL && myConfig.bOpenglThemes)
207
207
                {
208
208
                        CD_APPLET_REGISTER_FOR_UPDATE_ICON_SLOW_EVENT;
209
209
                        if (myDesklet)  // On ne teste le survol des boutons que si l'applet est detachee
210
 
                                cairo_dock_register_notification_on_object (myContainer,
 
210
                                gldi_object_register_notification (myContainer,
211
211
                                        NOTIFICATION_MOUSE_MOVED,
212
 
                                        (CairoDockNotificationFunc) cd_opengl_test_mouse_over_buttons,
213
 
                                        CAIRO_DOCK_RUN_AFTER,
 
212
                                        (GldiNotificationFunc) cd_opengl_test_mouse_over_buttons,
 
213
                                        GLDI_RUN_AFTER,
214
214
                                        myApplet);
215
215
                }
216
216
        }