- Mar 10, 2016
-
-
Murray Cumming authored
Instead use sigc::mem_fun(reference, func).
-
- Mar 07, 2016
-
-
Murray Cumming authored
-
Murray Cumming authored
This shows how having a sigc::notifiable base class is much nicer than using these objects as void* as in libsigc++-2.0.
-
- Mar 02, 2016
-
-
Murray Cumming authored
sigc::bind<1>() is meant t bind a value for the second argument, which makes no sense for a method with 1 parameter. sigc::bind() seems fine.
-
Murray Cumming authored
To deal with this clang warning when building with --enable-warnings=fatal. TODO: However, this doesn't actually seem to disable the error. glibmm_interface_move/main.cc:9:1: error: unused function 'glib_autoptr_cleanup_TestIface' [-Werror,-Wunused-function] G_DECLARE_INTERFACE(TestIface, test_Iface, TEST, IFACE, GObject) ^ /opt/gnome/include/glib-2.0/gobject/gtype.h:1565:3: note: expanded from macro 'G_DECLARE_INTERFACE' _GLIB_DEFINE_AUTOPTR_CHAINUP (ModuleObjName, PrerequisiteName) \ ^ /opt/gnome/include/glib-2.0/glib/gmacros.h:421:22: note: expanded from macro '_GLIB_DEFINE_AUTOPTR_CHAINUP' static inline void _GLIB_AUTOPTR_FUNC_NAME(ModuleObjName) (ModuleObjName **_ptr) { \ ^ /opt/gnome/include/glib-2.0/glib/gmacros.h:415:43: note: expanded from macro '_GLIB_AUTOPTR_FUNC_NAME' ^ <scratch space>:224:1: not...
-
Murray Cumming authored
-
- Mar 01, 2016
-
-
Murray Cumming authored
-
Murray Cumming authored
-
- Feb 29, 2016
-
-
Murray Cumming authored
-
Murray Cumming authored
-
- Feb 27, 2016
-
-
Murray Cumming authored
-
Murray Cumming authored
Putting the comment before the code, instead of to the right, because clang-format can not (and could not) know which comments are meant to be aligned. I prefer this anyway.
-
- Feb 26, 2016
-
-
Murray Cumming authored
This seems to work.
-
Murray Cumming authored
-
Murray Cumming authored
I need to make a subsequent commit to fix the now-unaligned trailing comments.
-
Murray Cumming authored
Because it sometimes wrongly things that comments on two lines are related. This now wrongly unaligns some blocks of trailing comments, but I would rather just not have them.
-
Murray Cumming authored
-
Murray Cumming authored
-
Murray Cumming authored
-
Murray Cumming authored
-
Murray Cumming authored
Because this can break builds.
-
Murray Cumming authored
-
Murray Cumming authored
-
Murray Cumming authored
-
Murray Cumming authored
-
Murray Cumming authored
-
Murray Cumming authored
-
Murray Cumming authored
For automatic reformatting of the source code.
-
- Feb 25, 2016
-
-
Kjell Ahlstedt authored
* tools/m4/vfunc.m4: Propagate a Glib::Error exception to GError** error. Don't throw an exception in the callback function, called from C code. Bug #762437
-
- Feb 18, 2016
-
-
Kjell Ahlstedt authored
-
Kjell Ahlstedt authored
-
- Feb 11, 2016
-
-
Murray Cumming authored
By changing ) dnl to )dnl
-
- Feb 10, 2016
-
-
Murray Cumming authored
Because I noticed that this has just been documented as being allowed to be null: https://git.gnome.org/browse/glib/commit/?id=a4ed89bf75190631087596be22f9eb10dc6e53ef
-
- Feb 06, 2016
-
-
Murray Cumming authored
This makes it easier to try C++14 sometimes and eventually really switch to it.
-
- Feb 05, 2016
-
-
Murray Cumming authored
-
Murray Cumming authored
-
- Feb 04, 2016
-
-
Kjell Ahlstedt authored
* gio/src/dbusconnection.[hg|ccg]: Some string parameters in some C functions accept nullptr, others don't. call(), call_sync(): bus_name: Pass nullptr for an empty string. emit_signal(): Only destination_bus_name can be nullptr. Other string parameters: Pass c_str(). The bug in call() and call_sync() was noticed by Gerlof Fokkema on gtkmm-list. The bug in emit_signal() is an overreaction to bug 645072. All string parameters were changed to pass nullptr, but only destination_bus_name should have been changed.
-
Kjell Ahlstedt authored
* tools/pm/Function.pm: * tools/pm/Output.pm: Accept {NULL} or {!NULL} after the name of a string parameter in _WRAP_METHOD. It specifies how to translate an empty string to a C string. {NULL}: nullptr, {!NULL}: pointer to an empty string. Both {NULL} and {!NULL} can be useful, because the default translation is different for mandatory and optional ({?}) parameters.
-
- Feb 01, 2016
-
-
Kjell Ahlstedt authored
* glib/glibmm/dispatcher.[cc|h]: Add Dispatcher::connect(&&). * glib/glibmm/objectbase.[cc|h]: Add ObjectBase::connect_property_changed(&&) and ObjectBase::connect_property_changed_with_return(&&). * glib/glibmm/propertyproxy_base.[cc|h]: Add PropertyProxyConnectionNode(&&) ctor, PropertyProxyConnectionNode::connect_changed() and SignalProxyProperty::connect(&&). * glib/glibmm/signalproxy.[cc|h]: Add SignalProxyNormal::connect_impl_(&&), SignalProxy::connect(&&), SignalProxy::connect_notify(&&), SignalProxyDetailed::connect_impl_(&&), SignalProxyDetailedAnyType::connect(&&) and SignalProxyDetailedAnyType::connect_notify(&&). * glib/glibmm/signalproxy_connectionnode.[cc|h]: Add SignalProxyConnectionNode(&&) ctor
-
- Jan 26, 2016
-
-
Aurelien Jacobs authored
Bug #761046
-