From Fedora Project Wiki

Line 27: Line 27:
|gHandleBoxWidget->shadow_type
|gHandleBoxWidget->shadow_type
|gtk_handle_box_get_shadow_type(GTK_HANDLE_BOX(gHandleBoxWidget))
|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))
|-
|-
|}
|}

Revision as of 14:43, 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)
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))