diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-01-02 11:25:40 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-01-02 11:25:40 +0100 |
commit | cd16e7b4a394b6ce885a618d8a96eccd662208bb (patch) | |
tree | c9bcd713dbea9467783f8d82c63218af91192da1 /src/editing_tools/EditingTools.vala | |
parent | b1cb72d29fa13b3b6f9f5fe66083dd60930a2b71 (diff) | |
parent | 66f6a7bd3f7e00022191f16cb0e82a39e7333a76 (diff) |
Merge tag 'upstream/0.25.2'
Upstream version 0.25.2
Diffstat (limited to 'src/editing_tools/EditingTools.vala')
-rw-r--r-- | src/editing_tools/EditingTools.vala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/editing_tools/EditingTools.vala b/src/editing_tools/EditingTools.vala index e0cf727..c3c79f6 100644 --- a/src/editing_tools/EditingTools.vala +++ b/src/editing_tools/EditingTools.vala @@ -52,6 +52,7 @@ public abstract class EditingToolWindow : Gtk.Window { // Needed to prevent the (spurious) 'This event was synthesised outside of GDK' // warnings after a keypress. + // TODO: Check if really still necessary Log.set_handler("Gdk", LogLevelFlags.LEVEL_WARNING, suppress_warnings); } @@ -90,6 +91,10 @@ public abstract class EditingToolWindow : Gtk.Window { base.realize(); } + + private void suppress_warnings(string? log_domain, LogLevelFlags log_levels, string message) { + // do nothing. + } } // The PhotoCanvas is an interface object between an EditingTool and its host. It provides objects |