From Fedora Project Wiki

No edit summary
Line 12: Line 12:


Replacements:
Replacements:
 
{|
GDK_DISPLAY() -> GDK_DISPLAY_XDISPLAY(gdk_display_get_default())
| '''orig'''
| '''replacement'''
|-
| GDK_DISPLAY()  
| GDK_DISPLAY_XDISPLAY(gdk_display_get_default())
|-
| scrollbar->style
| gtk_widget_get_style(scrollbar)
|-
| adj->page_size = rect->width
| gtk_adjustment_set_page_size(adj, rect->width)
|-
|}

Revision as of 14:36, 11 January 2011

Helper page for Firefox transition to Gtk3

Doc:

http://www.mail-archive.com/gtkmm-list@gnome.org/msg15382.html

http://answerpot.com/showthread.php?1780119-Add+compat+macro+for+GDK_DISPLAY

http://library.gnome.org/devel/gtk/unstable/migrating.html

http://library.gnome.org/devel/gtk/unstable/api-index-3-0.html

Replacements:

orig replacement
GDK_DISPLAY() GDK_DISPLAY_XDISPLAY(gdk_display_get_default())
scrollbar->style gtk_widget_get_style(scrollbar)
adj->page_size = rect->width gtk_adjustment_set_page_size(adj, rect->width)