2016-03-28 Murray Cumming 3.20 2016-03-18 Murray Cumming Add parentheses to silence clang-tidy. 2016-03-06 Kjell Ahlstedt ProgressBar example: Fix the type of a data member * examples/book/progressbar/examplewindow.[h|cc]: Replace int m_connection_id_timeout by sigc::connection m_connection_timeout. The compiler did not notice this bug until sigc::connection::operator bool() was made explicit. 2016-02-12 Kjell Ahlstedt Custom widget and ListBox examples: Update use of CSS files * examples/book/custom/custom_widget/custom_gtk.css: Use widget instance name instead of class name. * examples/book/custom/custom_widget/mywidget.cc: Call Gtk::Widget::set_name(). Explain the alternative names for use in the CSS file. CSS node names are introduced in gtk+ 3.19. They largely replace the class names in CSS files. * examples/book/listbox/examplewindow.[cc|h]: Remove the CSS data. Gtk+ now has reasonable style sheets for GtkListBoxRow. 2016-02-05 Kjell Ahlstedt Add "String Parameter Processing" section Describe {NULL} and {!NULL}, and how the code generated by _WRAP_METHOD() handles empty strings. 2016-01-29 Kjell Ahlstedt Builder chapter: Describe additional parameters to get_widget_derived() Bug #134161 2016-01-29 Kjell Ahlstedt builder/derived example: Add constructor with additional parameter * examples/book/builder/derived/deriveddialog.[h|cc]: * examples/book/builder/derived/main.cc: Add a constructor with an additional parameter to DerivedDialog, and call it from Builder::get_widget_derived() with an additional argument. Possible when get_widget_derived() is a variadic template. Bug #134161. 2016-01-26 Kjell Ahlstedt Custom widget example: Avoid some warnings When drawing the foreground, get the color for the current widget state. Trying to get the color for another state triggers a warning from gtk_style_context_get_property(). 2016-01-20 Kjell Ahlstedt Update the Internationalization chapter Replace the deprecated AM_GLIB_GNU_GETTEXT macro by AM_GNU_GETTEXT in a code snippet. Show an example of an autogen.sh file. Bug #701908. 2015-12-29 Kjell Ahlstedt cellrendererpopup example: Don't use deprecated methods * examples/others/cellrendererpopup.cc: Use the new Gdk::Seat::grab() instead of the deprecated Gdk::Device::grab(). 2015-12-10 Kjell Ahlstedt Use nullptr instead of 0