[shotwell] Remove old GTK+ work-around
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Remove old GTK+ work-around
- Date: Tue, 4 Oct 2016 19:52:37 +0000 (UTC)
commit 8d823173ee9df9745c851556b7617e495c54a44d
Author: Jens Georg <mail jensge org>
Date: Tue Oct 4 21:35:38 2016 +0200
Remove old GTK+ work-around
Signed-off-by: Jens Georg <mail jensge org>
src/Dialogs.vala | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/Dialogs.vala b/src/Dialogs.vala
index 4cc6d74..1ae1d1a 100644
--- a/src/Dialogs.vala
+++ b/src/Dialogs.vala
@@ -66,15 +66,11 @@ public File? choose_file(string current_file_basename) {
chooser.set_current_name(current_file_basename);
chooser.set_local_only(false);
- // The log handler reset should be removed once GTK 3.4 becomes widely available;
- // please see https://bugzilla.gnome.org/show_bug.cgi?id=662814 for details.
- Log.set_handler("Gtk", LogLevelFlags.LEVEL_WARNING, suppress_warnings);
File file = null;
if (chooser.run() == Gtk.ResponseType.ACCEPT) {
file = File.new_for_path(chooser.get_filename());
current_export_dir = file.get_parent();
}
- Log.set_handler("Gtk", LogLevelFlags.LEVEL_WARNING, Log.default_handler);
chooser.destroy();
return file;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]