From Fedora Project Wiki

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

GtkStyleContext instead of GtkStyle http://mail.gnome.org/archives/commits-list/2010-December/msg00456.html

OpenOffice Gtk3 patch:

File:Workspace.gtk3.patch

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)
gHandleBoxWidget->shadow_type gtk_handle_box_get_shadow_type(GTK_HANDLE_BOX(gHandleBoxWidget))
GTK_WIDGET_SET_FLAGS(gComboBoxEntryTextareaWidget, GTK_HAS_FOCUS); TEST: gtk_widget_grab_focus(gComboBoxEntryTextareaWidget);
GTK_WIDGET_UNSET_FLAGS(gComboBoxEntryTextareaWidget, GTK_HAS_FOCUS); ?
gtk_check_menu_item_GTK_CHECK_MENU_ITEM(gCheckMenuItemWidget)->always_show_toggle) ?
gButtonWidget->border_width gtk_container_get_border_width(GTK_CONTAINER(gButtonWidget))
GtkObject GObject
GtkObjectClass GObjectClass
GTK_OBJECT_CLASS G_OBJECT_CLASS
widget->allocation gtk_widget_get_allocation(widget), gtk_widget_get_allocated_width(), gtk_widget_get_allocated_height()
widget->style = gtk_style_attach (widget->style, widget->window) gtk_widget_style_attach(widget);
GTK_WIDGET_SET_FLAGS(container, GTK_CAN_FOCUS); TEST: gtk_widget_set_can_focus(container, TRUE);
container->container.resize_mode = GTK_RESIZE_IMMEDIATE; gtk_container_set_resize_mode(&(container->container), GTK_RESIZE_IMMEDIATE);
gdk_rgb_get_visual() gdk_visual_get_system_visual (gdk_screen_get_default())
gdk_rgb_get_colormap() gdk_screen_get_system_colormap (gdk_screen_get_default())
(GdkVisual *)visual->depth gdk_visual_get_depth(visual)
(GtkWidget *)widget->window gtk_widget_get_window(window)