diff options
author | raveit65 <[email protected]> | 2016-06-26 17:52:35 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-07-08 15:24:08 +0200 |
commit | 62ae31a8874cea0d8e8a4ad9547a164fa22db681 (patch) | |
tree | ecfb9bf7cfd4ea91bffd243488205e97243aa804 /eel/eel-editable-label.h | |
parent | 7c7eb8def5a6436e4d5105a7e5c45ea8361935dc (diff) | |
download | caja-62ae31a8874cea0d8e8a4ad9547a164fa22db681.tar.bz2 caja-62ae31a8874cea0d8e8a4ad9547a164fa22db681.tar.xz |
GTK+-3 eel-editable-label: drop usage of GtkMisc
and use halign and valign
with help from Vlad Orlov
Diffstat (limited to 'eel/eel-editable-label.h')
-rw-r--r-- | eel/eel-editable-label.h | 8 |
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, |