Remove no longer used patch
This commit is contained in:
parent
57f63ba9ae
commit
137a74bc14
@ -1,34 +0,0 @@
|
||||
From 55df95a2f737ae89bab9fe82c5e2a9e620761f05 Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Clasen <mclasen@redhat.com>
|
||||
Date: Tue, 25 Jan 2011 18:49:01 -0500
|
||||
Subject: [PATCH] Reset errors after freeing them
|
||||
|
||||
This was causing segfaults:
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=670895
|
||||
---
|
||||
src/notification.c | 2 ++
|
||||
1 files changed, 2 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/src/notification.c b/src/notification.c
|
||||
index 6fe44f1..41d64e2 100644
|
||||
--- a/src/notification.c
|
||||
+++ b/src/notification.c
|
||||
@@ -133,6 +133,7 @@ zenity_notification_handle_stdin (GIOChannel *channel,
|
||||
if (error) {
|
||||
g_warning ("Error showing notification: %s", error->message);
|
||||
g_error_free (error);
|
||||
+ error = NULL;
|
||||
}
|
||||
|
||||
g_object_unref (notif);
|
||||
@@ -150,6 +151,7 @@ zenity_notification_handle_stdin (GIOChannel *channel,
|
||||
if (error) {
|
||||
g_warning ("Error showing notification: %s", error->message);
|
||||
g_error_free (error);
|
||||
+ error = NULL;
|
||||
}
|
||||
}
|
||||
} else if (!g_ascii_strcasecmp (command, "visible")) {
|
||||
--
|
||||
1.7.3.5
|
||||
|
Loading…
Reference in New Issue
Block a user