2.91.7: 2010-12-22 Murray Cumming Cursor: Do not try to derive a GType. * gdk/src/cursor.hg: Use the (undocumented?) _DO_NOT_DERIVE_GTYPE macro to avoid deriving a GType, because we get this warning when we try: cannot derive `gtkmm__GdkCursor' from non-fundamental parent type `GdkCursor' We do not need to anyway, because there are no properties or signals. 2010-12-22 Murray Cumming Fix the build with latest GTK+. * gdk/src/gdk_methods.defs: Regenerated with h2defs.py. * gdk/src/cursor.[hg|ccg]: This should now be used via RefPtr. * gdk/src/display.hg: Remove warp_device(). * gdk/src/device.hg: * gdk/src/displaymanager.hg: * gdk/src/screen.hg: Remove default signal handlers, because they are now private in the C API. * gdk/src/window.hg: Use Cursor via RefPtr. * tools/m4/convert_gdk.m4: Add necessary conversions, removing some now-unnecessary ones. * gtk/src/gtk_methods.defs: Regenerated with h2defs.py. * gtk/src/cellareabox.hg: pack_start(), pack_end(): Add a bool fixed parameter, matching the change in the C API. * gtk/src/cellareacontext.hg: Add get_preferred_height(). * demos/gtk-demo/example_change_display.cc: Comment out the use of gdk_pointer_grab() until the C demo is ported to use gdk_device_grab(), so we know what to do instead. 2010-12-21 Murray Cumming Fix totally broken type registration. * gtk/src/switch.hg: This should not try to derive directly from GtkWidget*. This was causing a warning about a double registration of gtkmm__GtkWidget, which caused Gtk::Widget to be broken. 2010-12-21 Murray Cumming CellLayout, CellAreaContext: Added methods. * gtk/src/cellareacontext.[hg|ccg]: Added get_area(), allocate(), reset() and get_preferred_width_for_height(). * gtk/src/celllayout.[hg|ccg]: Added get_area(). * tools/m4/convert_gtk.m4: Added necessary conversions. 2010-12-21 Murray Cumming TreeViewColumn: Added get_button(). * gtk/src/treeviewcolumn.hg: Wrap gtk_tree_view_column_get_button(). 2010-12-21 Murray Cumming CellArea, CellAreaBox, CellAreaContext: Added methods. * gtk/src/cellarea.hg: * gtk/src/cellareabox.hg: * gtk/src/cellareacontext.hg: Wrap most methods, though not all. No properties, signals, or vfuncs are wrapped yet. * tools/m4/convert_gtk.m4: Added conversions for some of these types. 2010-12-21 Murray Cumming CellRenderer: Added 2 methods. * gtk/src/cellrenderer.hg: Added is_activatable() and get_aligned_area(). 2010-12-20 Murray Cumming Gtk: Add CellArea, CellAreaBox and CellAreaContext * tools/extra_defs_gen/generate_defs_gtk.cc: Mention GtkCellArea, GtkCellAreaBox and GtkCellAreaContext. * gtk/src/filelist.am: * gtk/src/cellarea.[hg|ccg]: * gtk/src/cellareabox.[hg|ccg]: * gtk/src/cellareacontext.[hg|ccg]: Added these classes, though no methods are wrapped yet. * gtk/gtkmm.h: Include the new headers. 2010-12-20 Murray Cumming Fix the build with latest GTK+ from git master. * gtk/src/gtk_methods.defs: Regenerated with h2defs.py. * gtk/src/widget.hg: set/get_extension_events() removed, because they were removed from GTK+, apparently because they are now unnecessary. * gtk/src/widgetpath.hg: get_widget_type() renamed to get_object_type(). iter_get/set_widget_type() renamed to iter_get/set_object_type(). 2010-12-17 Murray Cumming Application: Use _WRAP_CTOR() and _WRAP_CREATE() instead of _WRAP_METHOD(). * gtk/src/application.hg: This adds a protected constructor and makes the create() method just call that, which is the normal ways to do things. Maybe we had wrapped gtk_application_new() directly before because it maybe once did more than call g_object_new(), but that is fine now. Now people can derive from this class. This fixes bug #637445 (Yannick Guesnet) 2010-12-17 Murray Cumming Window: Added get/set_application(). * gtk/src/window.hg: Wrapped gtk_window_get_application() and gtk_window_set_application() and property. Include appliation.h. * gtk/src/application.[hg|ccg]: Pre-declare Window instead of including window.h, to avoid the circular include. * tools/m4/convert_gtk.m4: Added necessary conversions. This fixes bug #637441 (Yannick Guesnet) 2010-12-16 Murray Cumming Pixbuf: Derive from (and implement) Gio::Icon. * configure.ac: Require the latest gdk-pixbuf. This is also needed for gdk_pixbuf_format_get_type() and similar functions. * gdk/src/pixbuf.hg: Derive from Gio::Icon and implement that interface. This is a recent change in gdk-pixbuf. 2010-12-15 Murray Cumming Fix the build with latest GTK+ from git master. * gtk/src/widget.hg: Remove reset_shapes() because it was removed from GTK+. 2010-12-14 Murray Cumming Fix the demos build. * demos/gtk-demo/example_stockbrowser.cc: Use Gtk::Widget::render_icon_pixbuf() rather than render_icon(). 2010-12-13 Murray Cumming Widget: Remove a useless _WRAP_METHOD() line. * gtk/src/widget.hg: Remove mention of gtk_widget_get_default_visual(), apparently removed from GTK+. 2010-12-13 Murray Cumming IconInfo: Added load_icon_symbolic(StyleContext, bool&). * gtk/src/gtk_methods.defs: Regenerated. * gtk/src/iconinfo.[hg|ccg]: Rename load_icon_symbolic() to load_symbolic() to match the C function names. Add load_icon_symbolic(StyleContext, bool&), to wrap gtk_icon_info_load_symbolic_for_context(). 2010-12-10 Murray Cumming pkg-config file: Added gmmprocm4dir. * gtk/gtkmm.pc.in: Added gmmprocm4dir, which should be used to set GMMPROC_EXTRA_M4_DIR in configure.ac files, for use by gmmproc so that gmmproc has access to gtkmm-specific m4 conversions. 2010-12-10 Murray Cumming Change an m4 conversion to fix the build with latest glibmm. * tools/m4/convert_gtk.m4: For some reason, using __FR2P leaves a $3 in the .cc file, though similar conversions work fine. Changed it to a normal conversion. 2010-12-09 Murray Cumming Added class_gtkobject.m4, previously in glibmm. * tools/m4/class_gtkobject.m4: Added this, so we can use _CLASS_GTKOBJECT. * tools/m4/filelist.m4: Mentioned the new file. 2010-12-09 Murray Cumming Widget: Added unset_color/font() methods. * gdk/src/widget.[hg|ccg]: Add unset_*() methods to match the override_*() methods, because the C functions can take NULLs. 2010-12-09 Murray Cumming Widget: Removed render_icon(), adding render_icon_pixbuf(). * gtk/src/widget.hg: gtk_widget_render_icon() was deprecated and gtk_widget_render_icon_pixbuf() was added, with slightly different parameters.