From 240cc2f233f2a232ac1c0c6e0c7dd97ddda77eba Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 11 Jan 2013 13:01:27 -0600 Subject: [PATCH] settings: add note about killing inotify helper (bgo #532815) We can kill this code when we depend on a new enough glib that includes the patches from the referenced bug report. --- src/settings/nm-inotify-helper.c | 4 ++++ src/settings/nm-inotify-helper.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/settings/nm-inotify-helper.c b/src/settings/nm-inotify-helper.c index f44fee8232..2391d993b1 100644 --- a/src/settings/nm-inotify-helper.c +++ b/src/settings/nm-inotify-helper.c @@ -27,6 +27,10 @@ #include "nm-inotify-helper.h" #include "nm-logging.h" +/* NOTE: this code should be killed once we depend on a new enough glib to + * include the patches from https://bugzilla.gnome.org/show_bug.cgi?id=532815 + */ + G_DEFINE_TYPE (NMInotifyHelper, nm_inotify_helper, G_TYPE_OBJECT) #define NM_INOTIFY_HELPER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), NM_TYPE_INOTIFY_HELPER, NMInotifyHelperPrivate)) diff --git a/src/settings/nm-inotify-helper.h b/src/settings/nm-inotify-helper.h index bdebaf8e42..31e6b9ff81 100644 --- a/src/settings/nm-inotify-helper.h +++ b/src/settings/nm-inotify-helper.h @@ -25,6 +25,10 @@ #include #include +/* NOTE: this code should be killed once we depend on a new enough glib to + * include the patches from https://bugzilla.gnome.org/show_bug.cgi?id=532815 + */ + #define NM_TYPE_INOTIFY_HELPER (nm_inotify_helper_get_type ()) #define NM_INOTIFY_HELPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_INOTIFY_HELPER, NMInotifyHelper)) #define NM_INOTIFY_HELPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_INOTIFY_HELPER, NMInotifyHelperClass))