~ubuntu-branches/ubuntu/oneiric/pavucontrol/oneiric

« back to all changes in this revision

Viewing changes to src/cardwidget.cc

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2011-08-17 07:47:11 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20110817074711-5ud24e9y5dv2wjxc
Tags: 0.99.1-0ubuntu1
* New upstream release. (LP: #827119)
* debian/control: update build dependencies to build against gtk3
* debian/patches/0001-Define-missing-flags.patch: dropped

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "i18n.h"
28
28
 
29
29
/*** CardWidget ***/
30
 
CardWidget::CardWidget(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& x) :
 
30
CardWidget::CardWidget(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>& x) :
31
31
    Gtk::VBox(cobject) {
32
32
 
33
33
    x->get_widget("nameLabel", nameLabel);
43
43
 
44
44
CardWidget* CardWidget::create() {
45
45
    CardWidget* w;
46
 
    Glib::RefPtr<Gnome::Glade::Xml> x = Gnome::Glade::Xml::create(GLADE_FILE, "cardWidget");
 
46
    Glib::RefPtr<Gtk::Builder> x = Gtk::Builder::create_from_file(GLADE_FILE, "cardWidget");
47
47
    x->get_widget_derived("cardWidget", w);
48
48
    return w;
49
49
}