Kaydet (Commit) 3b23723e authored tarafından Stephan Bergmann's avatar Stephan Bergmann Kaydeden (comit) Caolán McNamara

Work around G_DEFINE_TYPE -Werror,-Wunused-function

(like 8313f683)

Change-Id: Id170cc95f5271d3e5c3fa84dafd848e7f8a96503
(cherry picked from commit c38e0f01)
üst cb011e8f
...@@ -247,7 +247,14 @@ struct _ClipboardOwnerClass ...@@ -247,7 +247,14 @@ struct _ClipboardOwnerClass
#define CLIPBOARD_OWNER_OBJECT (clipboard_owner_get_type ()) #define CLIPBOARD_OWNER_OBJECT (clipboard_owner_get_type ())
#define CLIPBOARD_OWNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLIPBOARD_OWNER_OBJECT, ClipboardOwner)) #define CLIPBOARD_OWNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLIPBOARD_OWNER_OBJECT, ClipboardOwner))
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-function"
#endif
G_DEFINE_TYPE(ClipboardOwner, clipboard_owner, G_TYPE_OBJECT); G_DEFINE_TYPE(ClipboardOwner, clipboard_owner, G_TYPE_OBJECT);
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
static void clipboard_owner_class_init (ClipboardOwnerClass *) static void clipboard_owner_class_init (ClipboardOwnerClass *)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment