head 1.11; access; symbols pkgsrc-2013Q2:1.11.0.22 pkgsrc-2013Q2-base:1.11 pkgsrc-2012Q4:1.11.0.20 pkgsrc-2012Q4-base:1.11 pkgsrc-2011Q4:1.11.0.18 pkgsrc-2011Q4-base:1.11 pkgsrc-2011Q2:1.11.0.16 pkgsrc-2011Q2-base:1.11 pkgsrc-2009Q4:1.11.0.14 pkgsrc-2009Q4-base:1.11 pkgsrc-2008Q4:1.11.0.12 pkgsrc-2008Q4-base:1.11 pkgsrc-2008Q3:1.11.0.10 pkgsrc-2008Q3-base:1.11 cube-native-xorg:1.11.0.8 cube-native-xorg-base:1.11 pkgsrc-2008Q2:1.11.0.6 pkgsrc-2008Q2-base:1.11 pkgsrc-2008Q1:1.11.0.4 pkgsrc-2008Q1-base:1.11 pkgsrc-2007Q4:1.11.0.2 pkgsrc-2007Q4-base:1.11 pkgsrc-2007Q3:1.10.0.2 pkgsrc-2007Q3-base:1.10 pkgsrc-2007Q2:1.9.0.6 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.4 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.2 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.8.0.2 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.7.0.8 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.6 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.4 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.2 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.6.0.8 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.6 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.4 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.2 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.5.0.6 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.4 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.2 pkgsrc-2003Q4-base:1.5; locks; strict; comment @# @; 1.11 date 2007.10.13.14.18.34; author adam; state dead; branches; next 1.10; 1.10 date 2007.09.22.22.56.43; author wiz; state Exp; branches; next 1.9; 1.9 date 2006.11.09.16.37.36; author adam; state dead; branches; next 1.8; 1.8 date 2006.09.25.15.49.07; author adam; state Exp; branches; next 1.7; 1.7 date 2005.07.22.21.21.47; author adam; state dead; branches; next 1.6; 1.6 date 2004.07.05.11.04.34; author drochner; state Exp; branches; next 1.5; 1.5 date 2003.11.01.18.24.39; author wiz; state Exp; branches; next 1.4; 1.4 date 2003.08.27.16.06.13; author adam; state Exp; branches; next 1.3; 1.3 date 2003.07.22.08.59.37; author adam; state Exp; branches; next 1.2; 1.2 date 2003.07.16.15.35.26; author adam; state Exp; branches; next 1.1; 1.1 date 2003.03.15.20.32.40; author jmmv; state Exp; branches; next ; desc @@ 1.11 log @Changes 2.12.1: * PrintOperation: Corrected a reference-counting problem that caused crashes. Changes 2.12: * New classes: Builder, RecentAction, Tooltip, VolumeButton. * Deprecated the Tooltips class. * More... @ text @$NetBSD: patch-aa,v 1.10 2007/09/22 22:56:43 wiz Exp $ --- gtk/gtkmm/toolbar.cc.orig 2007-05-03 14:51:49.000000000 +0000 +++ gtk/gtkmm/toolbar.cc @@@@ -98,6 +98,14 @@@@ void Toolbar::unset_drop_highlight_item( gtk_toolbar_set_drop_highlight_item(gobj(), 0, 0); } +#ifndef GTKMM_DISABLE_DEPRECATED +Tooltips* Toolbar::get_tooltips_object() const +{ + //Note that the _tooltips field is deprecated and broken since GTK+ 2.12: + return Glib::wrap((GtkTooltips*)gobj()->_tooltips); +} +#endif //GTKMM_DISABLE_DEPRECATED + } // namespace Gtk @@@@ -544,6 +552,16 @@@@ void Toolbar::unset_toolbar_style() gtk_toolbar_unset_style(gobj()); } +void Toolbar::set_icon_size(IconSize icon_size) +{ +gtk_toolbar_set_icon_size(gobj(), static_cast(int(icon_size))); +} + +void Toolbar::unset_icon_size() +{ +gtk_toolbar_unset_icon_size(gobj()); +} + IconSize Toolbar::get_icon_size() const { return IconSize(static_cast(gtk_toolbar_get_icon_size(const_cast(gobj())))); @@@@ -564,11 +582,6 @@@@ void Toolbar::set_drop_highlight_item(To gtk_toolbar_set_drop_highlight_item(gobj(), (tool_item).gobj(), index); } - Tooltips* Toolbar::get_tooltips_object() const -{ - return Glib::wrap(gobj()->tooltips); -} - Glib::SignalProxy1< void,Orientation > Toolbar::signal_orientation_changed() { @ 1.10 log @Add three patches based on files in gtkmm-2.12.0 to fix the build with gtk2+-2.12.0. Bump PKGREVISION. In case this doesn't build with gtk2+<2.12 any longer, please add an appropriate BUILDLINK_API_DEPENDS.gtk2 line. @ text @d1 1 a1 1 $NetBSD$ @ 1.9 log @Changes 2.10.3: * Adjustment: Preventing the value from being ignored. * Build: - ListViewText: Fix an odd build problem with gcc 3.3.6. * Documentation: - Explain the optional (at build-time) API for reduced resources environments. - Correct the links to the Memory Management and libglademm chapters. - Drawable::get_image(), Container::remove(), Widget::add_mnemonic_label: avoid mentioning a functions that do not exist in gtkmm. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2006/09/25 15:49:07 adam Exp $ d3 20 a22 3 --- gtk/gtkmm/listviewtext.cc.orig 2006-09-25 17:10:12.000000000 +0200 +++ gtk/gtkmm/listviewtext.cc @@@@ -83,7 +83,7 @@@@ void ListViewText::set_column_title(guin d24 11 a34 1 Glib::ustring ListViewText::get_column_title(guint column) const d36 10 a45 2 - g_return_val_if_fail( column < get_columns().size(), Glib::ustring() ); + g_return_val_if_fail( column < get_columns().size(), "" ); d47 2 a48 2 return get_column(column)->get_title(); } @ 1.8 log @Fix building with gcc-3; PR#34601 @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Changes 2.6.3: * Gtk::Action::get_proxies() Use the correct ownership semantics. * Gdk::Display::list_devices() Use the correct ownership semantics. * examples/book/menus_and_toolbars/ Distribute the .png file. Changes 2.6.2: * TreeView: When using the append_column() convenience API, prevent a crash when the window closes while the cell is editing. * Allow derived CellRenderers to be edited, by removing some debug code that sneaked into 2.6.1. * Documented many signals, based on the GTK+ documentation. Changes 2.6.1: * CellRenderer: Prevent an infinite loop. * MSVC++ .Net 2003 build fixes. * Documentation: - Hide deprecated widgets from the list of widgets. - Correct the description of the IO input example. Chamges 2.6.0: gtkmm 2.6 wraps new API in GTK+ 2.6, and is API/ABI-compatibile with gtkmm 2.4. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2004/07/05 11:04:34 drochner Exp $ d3 11 a13 11 --- Makefile.in.orig 2004-06-03 19:49:14.000000000 +0200 +++ Makefile.in @@@@ -206,7 +206,7 @@@@ sharedstatedir = @@sharedstatedir@@ sysconfdir = @@sysconfdir@@ target_alias = @@target_alias@@ ACLOCAL_AMFLAGS = -I scripts -SUBDIRS = tools glib pango atk gdk gtk examples docs tests +SUBDIRS = tools glib pango atk gdk gtk docs tests DIST_SUBDIRS = $(SUBDIRS) scripts demos MSVC_Net2003 EXTRA_DIST = gtkmm.spec.in \ build_shared/Makefile_build.am_fragment \ @ 1.6 log @update to 2.2.12, fix MASTER_SITES changes: * gtkmm 2.2.10 had an incorrect configure-time test, that mistakenly disabled some template code for gcc, used to convert from intermediate C++ containers to STL containers. For instance, this broke the gnome-vfsmm build. * TreeView::get_path_at_pos(): Correct memory management. ("David"). * ConstructParams::ConstructParams(): improvement. (Daniel Elstner). * TreePath::append(): Maybe fixed compilation for gcc 3.4. (Daniel Elstner) @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Update to 2.2.8, to fix compilation with gcc3. Changes: 2.2.8: * Fixed "inacccessible base" build errors with gcc 3.3.2. (Bradley Bell) * win32: Re-enabled our wrappers for parts of the GTK+ API that are now properly exported on Windows by GTK+. See README.win32 for more details. (Cedric Gustin ) * Documentation: - book: -Updated DrawingArea chapter for gtkmm2 (the last chapter that needed to be updated) (Ainsley Pereira) - Mentioned Treeviews with popup menus, with example. (Murray Cumming) - The libglademm chapter has a clearer explanation of the memory management, and mentions the new get_widget_derived() method. (Murray Cumming) - Distribute doxygen tags for use by the documentation of related projects. (Bradley Bell) - Build and install a devhelp file for the reference docs. This doesn't work yet, but hopefully it's easy to fix. (roel@@stack.be) @ text @d3 1 a3 1 --- Makefile.in.orig 2003-09-29 15:10:58.000000000 +0200 d5 2 a6 1 @@@@ -166,7 +166,7 @@@@ sysconfdir = @@sysconfdir@@ a8 1 a11 1 d13 1 @ 1.4 log @Changes: * gcc 2.96 fix build * MS Visual C++ .Net 2003 support * Gdx::Display fix * documentation update @ text @d3 1 a3 1 --- Makefile.in.orig 2003-08-23 09:49:16.000000000 +0200 d9 3 a11 3 -SUBDIRS = tools glib pango atk gdk gtk examples docs +SUBDIRS = tools glib pango atk gdk gtk docs DIST_SUBDIRS = $(SUBDIRS) scripts demos tests MSVC_Net2003 @ 1.3 log @Changes 2.2.5: * fixed memory leak * gtkmmproc: added GMM_PROTECTED_GCLASS macro * documentation corrected @ text @d3 4 a6 4 --- Makefile.in.orig 2003-07-21 18:53:17.000000000 +0200 +++ Makefile.in 2003-07-22 10:19:30.000000000 +0200 @@@@ -115,7 +115,7 @@@@ install_sh = @@install_sh@@ d11 1 a11 1 DIST_SUBDIRS = $(SUBDIRS) scripts demos tests @ 1.2 log @Changes for 2.2.3: bugfixes, updated examples and documentation, dispatcher ported to Win32 @ text @d3 4 a6 4 --- Makefile.in.orig 2003-07-16 16:42:23.000000000 +0200 +++ Makefile.in 2003-07-16 16:44:30.000000000 +0200 @@@@ -166,7 +166,7 @@@@ target_alias = @@target_alias@@ @ 1.1 log @Update to 2.2.1. Changes in this version: * configure depends on ATK 1.2. (Murray Cumming) * Various gtkmm/gdkmm reference-counting corrections, using refreturn. (Sven Grottke, Murray Cumming) * Gtk::Menu_Helpers::Element: lifetime refcounting fix. (Murray Cumming) * Glib: - build_path(), build_filename(): fix and performance improvement. - replace deprecated __builtin_bzero(). (Daniel Elstner) * Win32: 2.2 now builds, after lots of work. And there's an installer. (Cedric Gustin) * Documentation: - Glib::Cond documented (Rick L Vinyard Jr) - Review and completion of Gtk::AccelGroup -> Gtk::Bin (Bryan Forbes) - Minor internals docs fix. (Martin Schulze) @ text @d3 3 a5 4 --- Makefile.in.orig 2003-03-15 18:38:26.000000000 +0000 +++ Makefile.in @@@@ -153,7 +153,7 @@@@ sharedstatedir = @@sharedstatedir@@ sysconfdir = @@sysconfdir@@ d7 1 d11 1 a11 1 DIST_SUBDIRS = $(SUBDIRS) scripts demos examples tests @