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 619953 - Make gitg compile with Gtk+ 3.0 if available.
Make gitg compile with Gtk+ 3.0 if available.
Status: RESOLVED FIXED
Product: gitg
Classification: Applications
Component: gitg
git master
Other All
: Normal normal
: ---
Assigned To: gitg-maint
gitg-maint
Depends on:
Blocks: 585391
 
 
Reported: 2010-05-28 15:15 UTC by Steve Frécinaux
Modified: 2010-05-29 10:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make gitg compile with Gtk+ 3.0 if available. (6.01 KB, patch)
2010-05-28 15:16 UTC, Steve Frécinaux
committed Details | Review

Description Steve Frécinaux 2010-05-28 15:15:37 UTC
- update the API usage to drop what won't be available in gtk3
- compile against gtk+3 if available, as does gedit.
Comment 1 Steve Frécinaux 2010-05-28 15:16:40 UTC
Created attachment 162228 [details] [review]
Make gitg compile with Gtk+ 3.0 if available.

The selection is done by checking first if gtk+-3.0 is available and
fall back on gtk+-2.0 otherwise.

This patch also bumps the gtk+ 2.0 requirement to 2.20 because it is
needed for gtk_widget_get_mapped().
Comment 2 jessevdk@gmail.com 2010-05-29 10:39:47 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.