After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679254 - Please integrate my code into GLib (synchronizing properties)
Please integrate my code into GLib (synchronizing properties)
Status: RESOLVED DUPLICATE of bug 348080
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2012-07-02 12:03 UTC by Victor Porton
Modified: 2012-07-02 12:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
C files (4.21 KB, application/x-gzip)
2012-07-02 12:03 UTC, Victor Porton
Details

Description Victor Porton 2012-07-02 12:03:00 UTC
Created attachment 217824 [details]
C files

Long time ago I wrote a library which binds together two or more GLib properties (when one property changes, the other automatically changes also).

I will not describe here details of my life, but the result was that this project was laid aside and unmaintained. Since that I have probably forgotten GLib and maybe even partially forgotten C language.

I tried to build GLib downloaded for the Git, but that does not compile.

Somebody reported that there was a bug in this code, but I can't find the email with the bug report. Please test it extensively.

I attach the C code I wrote several years ago in the hope that somebody may integrate it into GLib and maintain it.

This is a VERY useful code, please elaborate it.
Comment 1 Emmanuele Bassi (:ebassi) 2012-07-02 12:25:27 UTC
thanks for your bug.

since GLib 2.26, GObject already has code to bind two properties together (with or without transformation functions):

http://developer.gnome.org/gobject/stable/GBinding.html

*** This bug has been marked as a duplicate of bug 348080 ***