~ubuntu-branches/ubuntu/saucy/notify-osd/saucy-proposed

« back to all changes in this revision

Viewing changes to src/gaussian-blur.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-07-11 18:24:23 UTC
  • mfrom: (3.1.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20110711182423-j77ej6q249mz6izx
Tags: 0.9.31-0ubuntu1
* New upstream version:
  - use gtk3 (lp: #655232)
* debian/control: 
  - updated the build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
surface_gaussian_blur (cairo_surface_t* surface,
133
133
                       guint            radius)
134
134
{
135
 
        guchar*        pixels;
136
 
        guint          width;
137
 
        guint          height;
138
135
        cairo_format_t format;
139
136
 
140
137
        // sanity checks are done in raico-blur.c
142
139
        // before we mess with the surface execute any pending drawing
143
140
        cairo_surface_flush (surface);
144
141
 
145
 
        pixels = cairo_image_surface_get_data (surface);
146
 
        width  = cairo_image_surface_get_width (surface);
147
 
        height = cairo_image_surface_get_height (surface);
148
142
        format = cairo_image_surface_get_format (surface);
149
143
 
150
144
        switch (format)