Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some gtk+3 still use gtk_widget_set_margin_left/right, not start/end #26

Open
pete4abw opened this issue Oct 27, 2015 · 1 comment · May be fixed by #27
Open

Some gtk+3 still use gtk_widget_set_margin_left/right, not start/end #26

pete4abw opened this issue Oct 27, 2015 · 1 comment · May be fixed by #27

Comments

@pete4abw
Copy link

In version gtk+3-3.8.2, it still uses gtk_widget_set_margin_left and gtk_widget_set_margin_right functions, not gtk_widget_set_margin_start/end. file gtktechnology.c needs to be updated for successful compilation and linking. Not sure which version implemented the change to start/end though.

src/src_connman_ui_gtk-gtktechnology.o: In function gtk_technology_init': gtktechnology.c:(.text+0x377): undefined reference togtk_widget_set_margin_start'
gtktechnology.c:(.text+0x384): undefined reference to gtk_widget_set_margin_end' gtktechnology.c:(.text+0x3a7): undefined reference togtk_widget_set_margin_start'
gtktechnology.c:(.text+0x3b4): undefined reference to `gtk_widget_set_margin_end'

bash-4.2# sed -e 's/gtk_widget_set_margin_start/gtk_widget_set_margin_left/g' -i gtktechnology.c
bash-4.2# sed -e 's/gtk_widget_set_margin_end/gtk_widget_set_margin_right/g' -i gtktechnology.c

fixes all.

@pete4abw
Copy link
Author

pete4abw commented Nov 3, 2015

gtk_widget_set_margin_start/end is from gtk+3 version 3.12 onward, left/right deprecated from then. Same with the get_margin functions.

Artox added a commit to Artox/connman-ui that referenced this issue Dec 3, 2015
@Artox Artox linked a pull request Dec 3, 2015 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant