[geeqie] Check exec value for NULL in src/editors.c

Michael Schwendt mschwendt at fedoraproject.org
Fri Feb 1 17:53:00 UTC 2013


commit 3998bd407d39b0b820a18526fa51449fe604286e
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Fri Feb 1 18:52:55 2013 +0100

    Check exec value for NULL in src/editors.c
    
    - Fedora >= 19: Drop ancient "fedora" vendor prefix from desktop file.

 geeqie-1.1-filedata-change-notification.patch |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
---
diff --git a/geeqie-1.1-filedata-change-notification.patch b/geeqie-1.1-filedata-change-notification.patch
new file mode 100644
index 0000000..c999390
--- /dev/null
+++ b/geeqie-1.1-filedata-change-notification.patch
@@ -0,0 +1,25 @@
+diff -Nur geeqie-1.1-orig/src/filedata.c geeqie-1.1/src/filedata.c
+--- geeqie-1.1-orig/src/filedata.c	2012-08-12 22:13:41.000000000 +0200
++++ geeqie-1.1/src/filedata.c	2013-02-01 18:44:12.921684510 +0100
+@@ -2707,10 +2707,21 @@
+ 
+ void file_data_send_notification(FileData *fd, NotifyType type)
+ {
++	GList *work = notify_func_list;
++
++	while (work)
++		{
++		NotifyData *nd = (NotifyData *)work->data;
++
++		nd->func(fd, type, nd->data);
++		work = work->next;
++		}
++    /*
+ 	NotifyIdleData *nid = g_new0(NotifyIdleData, 1);
+ 	nid->fd = file_data_ref(fd);
+ 	nid->type = type;
+ 	g_idle_add_full(G_PRIORITY_HIGH, file_data_send_notification_idle_cb, nid, NULL);
++    */
+ }
+ 
+ static GHashTable *file_data_monitor_pool = NULL;


More information about the scm-commits mailing list