gtktrayicon: use explicit void prototypes for reserved slots
Based on the Mageia gtk+-2.24.32-warnings.patch. Declare the reserved GtkTrayIconClass function pointers with explicit void parameter lists to avoid strict-prototype warnings without changing the class layout.
This commit is contained in:
parent
1ae5c7beec
commit
7cc56a9965
1 changed files with 6 additions and 6 deletions
|
|
@ -46,12 +46,12 @@ struct _GtkTrayIconClass
|
|||
{
|
||||
GtkPlugClass parent_class;
|
||||
|
||||
void (*__gtk_reserved1);
|
||||
void (*__gtk_reserved2);
|
||||
void (*__gtk_reserved3);
|
||||
void (*__gtk_reserved4);
|
||||
void (*__gtk_reserved5);
|
||||
void (*__gtk_reserved6);
|
||||
void (*__gtk_reserved1) (void);
|
||||
void (*__gtk_reserved2) (void);
|
||||
void (*__gtk_reserved3) (void);
|
||||
void (*__gtk_reserved4) (void);
|
||||
void (*__gtk_reserved5) (void);
|
||||
void (*__gtk_reserved6) (void);
|
||||
};
|
||||
|
||||
GType gtk_tray_icon_get_type (void) G_GNUC_CONST;
|
||||
|
|
|
|||
Loading…
Reference in a new issue