gtk3/gtk3-filechooserbutton-Fix-reserved-pointers.patch

33 lines
913 B
Diff

From e44bbeb558ddef5ffd3749aca3fec2dafaa0d634 Mon Sep 17 00:00:00 2001
From: Benjamin Otte <otte@redhat.com>
Date: Tue, 10 Apr 2018 14:22:16 +0200
Subject: [PATCH] filechooserbutton: Fix reserved pointers
So gcc stops complaining about unnecessary parenthesis.
---
gtk/gtkfilechooserbutton.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gtk/gtkfilechooserbutton.h b/gtk/gtkfilechooserbutton.h
index 0e5276fe71..fcad9f4f88 100644
--- a/gtk/gtkfilechooserbutton.h
+++ b/gtk/gtkfilechooserbutton.h
@@ -63,10 +63,10 @@ struct _GtkFileChooserButtonClass
/*< private >*/
/* Padding for future expansion */
- void (*__gtk_reserved1);
- void (*__gtk_reserved2);
- void (*__gtk_reserved3);
- void (*__gtk_reserved4);
+ void (*__gtk_reserved1) (void);
+ void (*__gtk_reserved2) (void);
+ void (*__gtk_reserved3) (void);
+ void (*__gtk_reserved4) (void);
};
--
2.13.7