* WIP: fixes for gtk3.2 (prevent warnings for deprecated widgets)
This commit is contained in:
@ -23,6 +23,10 @@
|
||||
#include <gtk/gtk.h>
|
||||
#include <mu-msg.h>
|
||||
|
||||
#if HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif /*HAVE_CONFIG_H*/
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/* convenience macros */
|
||||
@ -38,16 +42,22 @@ typedef struct _MuMsgViewClass MuMsgViewClass;
|
||||
typedef struct _MuMsgViewPrivate MuMsgViewPrivate;
|
||||
|
||||
struct _MuMsgView {
|
||||
GtkVBox parent;
|
||||
/* insert public members, if any */
|
||||
#ifdef HAVE_GTK3
|
||||
GtkBox parent;
|
||||
#else
|
||||
GtkVBox parent;
|
||||
#endif /*!HAVE_GTK3*/
|
||||
|
||||
/* private */
|
||||
MuMsgViewPrivate *_priv;
|
||||
};
|
||||
|
||||
struct _MuMsgViewClass {
|
||||
#ifdef HAVE_GTK3
|
||||
GtkBoxClass parent_class;
|
||||
#else
|
||||
GtkVBoxClass parent_class;
|
||||
/* insert signal callback declarations, e.g. */
|
||||
#endif /*!HAVE_GTK3*/
|
||||
/* void (* my_event) (MuMsgView* obj); */
|
||||
};
|
||||
|
||||
@ -65,4 +75,3 @@ void mu_msg_view_set_message_source (MuMsgView *self, MuMsg *msg);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __MU_MSG_VIEW_H__ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user