summaryrefslogtreecommitdiff
path: root/eel/eel-editable-label.h
diff options
context:
space:
mode:
Diffstat (limited to 'eel/eel-editable-label.h')
-rw-r--r--eel/eel-editable-label.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/eel/eel-editable-label.h b/eel/eel-editable-label.h
index b19c2417..9be7f8c9 100644
--- a/eel/eel-editable-label.h
+++ b/eel/eel-editable-label.h
@@ -53,7 +53,11 @@ extern "C" {
struct _EelEditableLabel
{
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GtkWidget widget;
+#else
GtkMisc misc;
+#endif
/*< private >*/
guint jtype : 2;
@@ -84,7 +88,11 @@ extern "C" {
struct _EelEditableLabelClass
{
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GtkWidgetClass parent_class;
+#else
GtkMiscClass parent_class;
+#endif
void (* move_cursor) (EelEditableLabel *label,
GtkMovementStep step,