~ubuntu-branches/ubuntu/maverick/vinagre/maverick

« back to all changes in this revision

Viewing changes to vinagre/vinagre-tab.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-10-19 14:01:47 UTC
  • mfrom: (1.1.27 upstream)
  • Revision ID: james.westby@ubuntu.com-20091019140147-3ujely89inklfvo1
Tags: 2.28.1-0ubuntu1
* New upstream version:
  - Keep the aspect ratio when using scaling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
581
581
vinagre_tab_add_view (VinagreTab *tab, GtkWidget *view)
582
582
{
583
583
  GtkWidget *viewport;
 
584
  GdkColor color = {0,};
584
585
 
585
586
  g_return_if_fail (VINAGRE_IS_TAB (tab));
586
587
 
589
590
                                         view);
590
591
  viewport = gtk_bin_get_child (GTK_BIN (tab->priv->scroll));
591
592
  gtk_viewport_set_shadow_type(GTK_VIEWPORT (viewport), GTK_SHADOW_NONE);
 
593
  gtk_widget_modify_bg (viewport, GTK_STATE_NORMAL, &color);
592
594
}
593
595
 
594
596
GtkWidget *