~ubuntu-branches/ubuntu/saucy/ido/saucy

« back to all changes in this revision

Viewing changes to src/idooffscreenproxy.c

  • Committer: Ken VanDine
  • Date: 2012-02-09 04:32:15 UTC
  • mfrom: (6.31.5 ido-scale-fix)
  • Revision ID: ken.vandine@canonical.com-20120209043215-81fr4ihvpzx04rc7
Tags: 0.3.1-0ubuntu3
releasing version 0.3.1-0ubuntu3

Show diffs side-by-side

added added

removed removed

Lines of Context:
482
482
  
483
483
  sc = get_menu_style_context();
484
484
 
 
485
  gtk_style_context_add_class (sc, "menubar");
 
486
 
485
487
  gtk_render_background (sc, cr,
486
488
                         0, 0,
487
489
                         gdk_window_get_width (window),
489
491
  
490
492
  g_object_unref (sc);
491
493
 
492
 
 
493
 
  
494
494
  if (gtk_cairo_should_draw_window (cr, window))
495
495
    {
496
496
      cairo_surface_t *surface;
505
505
    }
506
506
    else if (gtk_cairo_should_draw_window (cr, proxy->priv->offscreen_window))
507
507
    {
508
 
 
509
508
      if (proxy->priv->child)
510
509
        gtk_container_propagate_draw (GTK_CONTAINER (widget),
511
510
                                      proxy->priv->child,
512
511
                                      cr);
513
 
                                      }
 
512
    }
514
513
  
515
514
  return TRUE;
516
515
}