Commit graph

16 commits

Author SHA1 Message Date
Jörg Mayer
8689bbbb5c Looks like button was deprecated with version 20, not 22
svn path=/trunk/; revision=38260
2011-07-29 16:50:35 +00:00
Jörg Mayer
0b68e60aaf Commit a hack^wworkaround for the missing accessor function to the column
element in GtkTreeView when building with GSEAL.

svn path=/trunk/; revision=38238
2011-07-28 14:11:21 +00:00
Anders Broman
f274b1366e Try to fix
../gtk/old-gtk-compat.h:42:48: error: "(" may not appear in macro parameter list

svn path=/trunk/; revision=38230
2011-07-27 20:28:07 +00:00
Anders Broman
f459f00eb9 (dialog)->vbox can be replaced by gtk_dialog_get_content_area()
in gtk 2.14.

svn path=/trunk/; revision=38228
2011-07-27 19:44:35 +00:00
Anders Broman
d0a07c1840 gtk_tree_view_column_get_button ()
is available in GTK 3.0 use that.

svn path=/trunk/; revision=38222
2011-07-27 10:05:09 +00:00
Jörg Mayer
68845aa779 Replace access to ...->allocation by gtk_widget_get_allocation +
using the return val - part 1
Maybe the call needs to be done more often.

Replace GTK_WIDGET_STATE by gtk_widget_get_state

svn path=/trunk/; revision=38215
2011-07-26 19:01:01 +00:00
Guy Harris
494f9820fb Use gtk_widget_get_has_window() as a wrapper around
GTK_WIDGET_NO_WINDOW() in pre-2.18 versions of GTK+.  Treat calls to
GTK_WIDGET_NO_WINDOW() as an error in checkAPIs.pl.

svn path=/trunk/; revision=38197
2011-07-25 06:40:01 +00:00
Guy Harris
805ef85ea6 Fix typo, get rid of #if no longer necessary with the typo fixed.
svn path=/trunk/; revision=38195
2011-07-25 01:38:11 +00:00
Anders Broman
324477b59f Replace deprecated functions.
svn path=/trunk/; revision=38188
2011-07-24 19:39:21 +00:00
Jörg Mayer
dd02027e9b Fix some compile errors when building with real gtk-3.
svn path=/trunk/; revision=38178
2011-07-24 07:59:34 +00:00
Jörg Mayer
a8f410d360 Missed gtk_orientable_set_orientation
svn path=/trunk/; revision=38162
2011-07-22 05:03:40 +00:00
Bill Meier
3160342bc0 Use correct definition for gtk_combo_box_text_new(): Fixes compile errors.
svn path=/trunk/; revision=38161
2011-07-22 01:14:10 +00:00
Jörg Mayer
58d8a2b1b2 Handle more stuff in old-gtk-compat.h to avoid guarding in the code.
svn path=/trunk/; revision=38160
2011-07-21 23:58:08 +00:00
Jörg Mayer
f298effccd Another one I missed.
svn path=/trunk/; revision=38149
2011-07-21 19:00:55 +00:00
Jörg Mayer
94fbcbfde6 Fix for buildbot failure. Hopefully I didn't miss too many more.
svn path=/trunk/; revision=38148
2011-07-21 18:36:17 +00:00
Jörg Mayer
369929c2f6 Create a file containing macros to provide the access-functions
when the gtk version is too old (for the 2,14,0 case).

Remove all old access methods that were guarded by 2,14,0 tests.

Feel free to do the same for newer guards :-)

svn path=/trunk/; revision=38147
2011-07-21 17:44:02 +00:00