~ubuntu-branches/ubuntu/oneiric/gnome-panel/oneiric

« back to all changes in this revision

Viewing changes to gnome-panel/button-widget.c

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Bicha
  • Date: 2011-08-17 21:57:14 UTC
  • mfrom: (1.13.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20110817215714-mr18pl4hqedmprd7
Tags: 1:3.1.5-0ubuntu1
* New upstream release.
* debian/control: Bump gnome-menus dependencies
* debian/libpanel-applet-4-dev.install: No longer any *.a files to install
* debian/patches/09_default_icons.patch: Disabled until it can be ported
* debian/patches/90_build_fixes.patch: Dropped, applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
381
381
        context = gtk_widget_get_style_context (widget);
382
382
 
383
383
        if (button_widget->priv->arrow) {
384
 
                GtkArrowType arrow_type;
385
384
                gdouble angle, size;
386
385
 
387
386
                gtk_style_context_save (context);
388
387
                gtk_style_context_set_state (context, state_flags);
389
388
 
390
 
                arrow_type = calc_arrow (button_widget->priv->orientation,
391
 
                                         width, height,
392
 
                                         &x, &y,
393
 
                                         &angle, &size);
 
389
                calc_arrow (button_widget->priv->orientation,
 
390
                            width, height,
 
391
                            &x, &y,
 
392
                            &angle, &size);
394
393
 
395
394
                cairo_save (cr);
396
395
                gtk_render_arrow (context, cr, angle, x, y, size);