summaryrefslogtreecommitdiff
path: root/libs/gtkmm2/gtk/gtkmm/fontselection.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-12-18 06:05:55 +0000
committerDavid Robillard <d@drobilla.net>2007-12-18 06:05:55 +0000
commit35fc31a1de83f59d9b00e92e8e7111865983e378 (patch)
tree2e6a8b2954e27f3fd3186a34e5dbcc2fdcbae208 /libs/gtkmm2/gtk/gtkmm/fontselection.cc
parent0e31c565916508ceb8cb9511299e8439193b8dd1 (diff)
Remove ancient/unused flowcanvas and libglademm from repository.
Update libraries to latest stable released version (except gnomecanvasmm, which is strangely packaged...). Fixes building (at least here). git-svn-id: svn://localhost/ardour2/trunk@2790 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2/gtk/gtkmm/fontselection.cc')
-rw-r--r--libs/gtkmm2/gtk/gtkmm/fontselection.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/libs/gtkmm2/gtk/gtkmm/fontselection.cc b/libs/gtkmm2/gtk/gtkmm/fontselection.cc
index cf9e9799d4..f08e5ab395 100644
--- a/libs/gtkmm2/gtk/gtkmm/fontselection.cc
+++ b/libs/gtkmm2/gtk/gtkmm/fontselection.cc
@@ -131,7 +131,8 @@ GType FontSelection::get_base_type()
FontSelection::FontSelection()
:
- Glib::ObjectBase(0), //Mark this class as gtkmmproc-generated, rather than a custom class, to allow vfunc optimisations.
+ // Mark this class as non-derived to allow C++ vfuncs to be skipped.
+ Glib::ObjectBase(0),
Gtk::VBox(Glib::ConstructParams(fontselection_class_.init()))
{
}
@@ -361,15 +362,17 @@ GType FontSelectionDialog::get_base_type()
FontSelectionDialog::FontSelectionDialog()
:
- Glib::ObjectBase(0), //Mark this class as gtkmmproc-generated, rather than a custom class, to allow vfunc optimisations.
+ // Mark this class as non-derived to allow C++ vfuncs to be skipped.
+ Glib::ObjectBase(0),
Gtk::Dialog(Glib::ConstructParams(fontselectiondialog_class_.init()))
{
}
FontSelectionDialog::FontSelectionDialog(const Glib::ustring& title)
:
- Glib::ObjectBase(0), //Mark this class as gtkmmproc-generated, rather than a custom class, to allow vfunc optimisations.
- Gtk::Dialog(Glib::ConstructParams(fontselectiondialog_class_.init(), "title", title.c_str(), (char*) 0))
+ // Mark this class as non-derived to allow C++ vfuncs to be skipped.
+ Glib::ObjectBase(0),
+ Gtk::Dialog(Glib::ConstructParams(fontselectiondialog_class_.init(), "title", title.c_str(), static_cast<char*>(0)))
{
}