[gtkmm] 2.90.0
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] 2.90.0
- Date: Tue, 18 May 2010 15:46:03 +0000 (UTC)
commit 91f4c4f6cd100b034fc2502809c3dd20bacb66d8
Author: Murray Cumming <murrayc murrayc com>
Date: Tue May 18 17:45:49 2010 +0200
2.90.0
ChangeLog | 2 +
NEWS | 29 +++++++++++++++++++++++++-
demos/gtk-demo/example_treeview_treestore.cc | 12 +++++-----
gtk/gtkmm.h | 4 +-
tests/property_notification/main.cc | 3 --
5 files changed, 38 insertions(+), 12 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 447fb29..e7e7146 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,5 @@
+2.90.0 (unstable):
+
2010-05-18 Murray Cumming <murrayc murrayc com>
Remove the ifdefs that supported building with optional API.
diff --git a/NEWS b/NEWS
index 5432515..1a56fac 100644
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,35 @@
+2.90.0 (unstable):
+
+* Renamed ABI from gtkmm-2.4 to gtkmm-3.0.
+ This requires applications to change their pkg-config check to gtkmm-3.0
+ when they wish to use gtkmm-3.0 instead of gtkmm 2.x.
+* Use gtk+ 3.0 instead of gtk+ 2.0.
+* Removed deprecated API.
+* Remove support for these glibmm build options via ifdefs:
+ --enable-api-exceptions
+ --enable-api-properties
+ --enable-api-default-signal-handlers
+ (All this gtkmm API is now always present.)
+* Added Border and used it in Entry and Range.
+ (Krzesimir Nowak)
+* FileChooser:
+ Use std::string for filenames, instead of ustring, fixing bug #142138.
+* Action, ActionGroup, ListStore, SizeGroup, TreeStore, Widget:
+ Inherit and Implement Buildable.
+* Button, EntryCompletion, MenuItem, RecentChooserMenu, ToolButton, ToolItem,
+ IconView: Inherit and implement Activatable.
+ TreeViewCOlumn,
+* Box, ButtonBox, Paned, Ruler, ScaleButton, ScrollBar, Separator, SpinButton:
+ Inherit and implement Orientable.
+* ComboBox: Inherit and implement CellEditable.
+* EntryCompletion, IconView, TreeViewColumn: Inherit and implement CellLAyout.
+* Add default signal handlers for several signals.
+
2.20.3 (stable):
* Documentation: Added main page text at index.html.
(David King, Murray Cumming)
-
+
2.20.2 (stable):
* Documentation: Strip out the gobject-introspection annotations, and use
diff --git a/demos/gtk-demo/example_treeview_treestore.cc b/demos/gtk-demo/example_treeview_treestore.cc
index 3ff3925..4bceeb9 100644
--- a/demos/gtk-demo/example_treeview_treestore.cc
+++ b/demos/gtk-demo/example_treeview_treestore.cc
@@ -330,7 +330,7 @@ void Example_TreeView_TreeStore::add_columns()
Gtk::TreeViewColumn* pColumn = m_TreeView.get_column(cols_count-1);
if(pColumn)
{
- Gtk::CellRenderer* pRenderer = pColumn->get_first_cell_renderer();
+ Gtk::CellRenderer* pRenderer = pColumn->get_first_cell();
pRenderer->property_xalign().set_value(0.0);
pColumn->set_clickable();
@@ -343,7 +343,7 @@ void Example_TreeView_TreeStore::add_columns()
Gtk::TreeViewColumn* pColumn = m_TreeView.get_column(cols_count-1);
if(pColumn)
{
- Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell_renderer());
+ Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell());
pRenderer->property_xalign().set_value(0.0);
pColumn->add_attribute(pRenderer->property_visible(), m_columns.visible);
@@ -361,7 +361,7 @@ void Example_TreeView_TreeStore::add_columns()
Gtk::TreeViewColumn* pColumn = m_TreeView.get_column(cols_count-1);
if(pColumn)
{
- Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell_renderer());
+ Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell());
pRenderer->property_xalign().set_value(0.0);
pColumn->add_attribute(pRenderer->property_visible(), m_columns.visible);
@@ -378,7 +378,7 @@ void Example_TreeView_TreeStore::add_columns()
Gtk::TreeViewColumn* pColumn = m_TreeView.get_column(cols_count-1);
if(pColumn)
{
- Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell_renderer());
+ Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell());
pRenderer->property_xalign().set_value(0.0);
pColumn->add_attribute(pRenderer->property_visible(), m_columns.visible);
@@ -396,7 +396,7 @@ void Example_TreeView_TreeStore::add_columns()
Gtk::TreeViewColumn* pColumn = m_TreeView.get_column(cols_count-1);
if(pColumn)
{
- Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell_renderer());
+ Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell());
pRenderer->property_xalign().set_value(0.0);
pColumn->add_attribute(pRenderer->property_visible(), m_columns.visible);
@@ -413,7 +413,7 @@ void Example_TreeView_TreeStore::add_columns()
Gtk::TreeViewColumn* pColumn = m_TreeView.get_column(cols_count-1);
if(pColumn)
{
- Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell_renderer());
+ Gtk::CellRendererToggle* pRenderer = static_cast<Gtk::CellRendererToggle*>(pColumn->get_first_cell());
pRenderer->property_xalign().set_value(0.0);
pColumn->add_attribute(pRenderer->property_visible(), m_columns.visible);
diff --git a/gtk/gtkmm.h b/gtk/gtkmm.h
index 44b1920..b2c7406 100644
--- a/gtk/gtkmm.h
+++ b/gtk/gtkmm.h
@@ -64,12 +64,12 @@
*
* If your source file is @c program.cc, you can compile it with:
* @code
- * g++ program.cc -o program `pkg-config --cflags --libs gtkmm-2.4`
+ * g++ program.cc -o program `pkg-config --cflags --libs gtkmm-3.0`
* @endcode
*
* Alternatively, if using autoconf, use the following in @c configure.ac:
* @code
- * PKG_CHECK_MODULES([GTKMM], [gtkmm-2.4])
+ * PKG_CHECK_MODULES([GTKMM], [gtkmm-3.0])
* @endcode
* Then use the generated @c GTKMM_CFLAGS and @c GTKMM_LIBS variables in the
* project @c Makefile.am files. For example:
diff --git a/tests/property_notification/main.cc b/tests/property_notification/main.cc
index f5cf16b..a10e37d 100644
--- a/tests/property_notification/main.cc
+++ b/tests/property_notification/main.cc
@@ -29,7 +29,6 @@ int main (int argc, char **argv)
button.connect_property_changed("color", sigc::ptr_fun(&on_property_color_changed));
button.property_color().signal_changed().connect(sigc::ptr_fun(&on_property_color_changed_nicer_api));
-#endif
button.connect_property_changed("name", sigc::ptr_fun(&on_property_name_changed));
@@ -38,5 +37,3 @@ int main (int argc, char **argv)
Gtk::Main::run(window);
}
-
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]