[meld] meldapp: Update deprecated struct creation
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] meldapp: Update deprecated struct creation
- Date: Fri, 12 Dec 2014 20:31:24 +0000 (UTC)
commit 81765d869409aed3643cb06a3cf86403bfda1af2
Author: Kai Willadsen <kai willadsen gmail com>
Date: Thu Dec 11 06:31:32 2014 +1000
meldapp: Update deprecated struct creation
meld/meldapp.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/meldapp.py b/meld/meldapp.py
index 5fd6ac2..34df96b 100644
--- a/meld/meldapp.py
+++ b/meld/meldapp.py
@@ -121,7 +121,7 @@ class MeldApp(Gtk.Application):
def quit_callback(self, action, parameter):
for window in self.get_windows():
cancelled = window.emit("delete-event",
- Gdk.Event(Gdk.EventType.DELETE))
+ Gdk.Event.new(Gdk.EventType.DELETE))
if cancelled:
return
window.destroy()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]