~cairo-dock-team/cairo-dock-core/popup_from_shortkey

« back to all changes in this revision

Viewing changes to src/gldit/cairo-dock-container.c

  • Committer: Fabrice Rey
  • Date: 2013-06-04 22:58:28 UTC
  • Revision ID: fabounet03@gmail.com-20130604225828-x8lg3mv9135jr114
updated various parts of the core to the new API (new icons type, 'delete' method, simplified functions, etc)

Show diffs side-by-side

added added

removed removed

Lines of Context:
198
198
        _redraw_container_area (pContainer, pArea);
199
199
}
200
200
 
201
 
void cairo_dock_redraw_icon (Icon *icon, GldiContainer *pContainer)
 
201
void cairo_dock_redraw_icon (Icon *icon)
202
202
{
203
 
        g_return_if_fail (icon != NULL && pContainer != NULL);
 
203
        g_return_if_fail (icon != NULL);
 
204
        GldiContainer *pContainer = cairo_dock_get_icon_container (icon);
 
205
        g_return_if_fail (pContainer != NULL);
204
206
        GdkRectangle rect;
205
207
        cairo_dock_compute_icon_area (icon, pContainer, &rect);
206
208