Skip to content

Instantly share code, notes, and snippets.

@juniorz
Created October 12, 2015 16:12
Show Gist options
  • Save juniorz/1ba9225bd004c549c0a8 to your computer and use it in GitHub Desktop.
Save juniorz/1ba9225bd004c549c0a8 to your computer and use it in GitHub Desktop.
Migrating to GTK3
$ go get github.com/agl/go-gtk
# github.com/agl/go-gtk/gdk
../../agl/go-gtk/gdk/gdk.go:91:23: warning: 'gdk_color_parse' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gdk/deprecated/gdkcolor.h:79:11: note: 'gdk_color_parse' has been explicitly marked deprecated here
../../agl/go-gtk/gdk/gdk.go:105:42: warning: 'gdk_cursor_new' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gdk/gdkcursor.h:228:12: note: 'gdk_cursor_new' has been explicitly marked deprecated here
# github.com/agl/go-gtk/gtk
In file included from $WORK/github.com/agl/go-gtk/gtk/_obj/_cgo_export.c:2:
../../agl/go-gtk/gtk/gtk.go:325:9: warning: 'gtk_widget_get_double_buffered' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtkwidget.h:879:23: note: 'gtk_widget_get_double_buffered' has been explicitly marked deprecated here
In file included from $WORK/github.com/agl/go-gtk/gtk/_obj/_cgo_export.c:2:
../../agl/go-gtk/gtk/gtk.go:436:2: warning: 'gtk_status_icon_set_title' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:143:23: note: 'gtk_status_icon_set_title' has been explicitly marked deprecated here
In file included from $WORK/github.com/agl/go-gtk/gtk/_obj/_cgo_export.c:2:
../../agl/go-gtk/gtk/gtk.go:439:9: warning: 'gtk_status_icon_get_title' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:146:23: note: 'gtk_status_icon_get_title' has been explicitly marked deprecated here
In file included from $WORK/github.com/agl/go-gtk/gtk/_obj/_cgo_export.c:2:
../../agl/go-gtk/gtk/gtk.go:588:2: warning: 'gtk_status_icon_set_name' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:148:23: note: 'gtk_status_icon_set_name' has been explicitly marked deprecated here
In file included from $WORK/github.com/agl/go-gtk/gtk/_obj/_cgo_export.c:2:
../../agl/go-gtk/gtk/gtk.go:703:51: warning: 'gtk_misc_get_type' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkmisc.h:39:67: note: expanded from macro 'GTK_MISC'
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkmisc.h:38:32: note: expanded from macro 'GTK_TYPE_MISC'
/usr/local/Cellar/glib/2.46.0/include/glib-2.0/gobject/gtype.h:479:92: note: expanded from macro 'G_TYPE_CHECK_INSTANCE_CAST'
/usr/local/Cellar/glib/2.46.0/include/glib-2.0/gobject/gtype.h:2196:61: note: expanded from macro '_G_TYPE_CIC'
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70:9: note: 'gtk_misc_get_type' has been explicitly marked deprecated here
In file included from $WORK/github.com/agl/go-gtk/gtk/_obj/_cgo_export.c:2:
../../agl/go-gtk/gtk/gtk.go:752:61: warning: 'gtk_alignment_get_type' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkalignment.h:39:81: note: expanded from macro 'GTK_ALIGNMENT'
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkalignment.h:38:46: note: expanded from macro 'GTK_TYPE_ALIGNMENT'
/usr/local/Cellar/glib/2.46.0/include/glib-2.0/gobject/gtype.h:479:92: note: expanded from macro 'G_TYPE_CHECK_INSTANCE_CAST'
/usr/local/Cellar/glib/2.46.0/include/glib-2.0/gobject/gtype.h:2196:61: note: expanded from macro '_G_TYPE_CIC'
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkalignment.h:77:12: note: 'gtk_alignment_get_type' has been explicitly marked deprecated here
# github.com/agl/go-gtk/gtk
../../agl/go-gtk/gtk/gtk.go:325:9: warning: 'gtk_widget_get_double_buffered' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtkwidget.h:879:23: note: 'gtk_widget_get_double_buffered' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:436:2: warning: 'gtk_status_icon_set_title' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:143:23: note: 'gtk_status_icon_set_title' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:439:9: warning: 'gtk_status_icon_get_title' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:146:23: note: 'gtk_status_icon_get_title' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:588:2: warning: 'gtk_status_icon_set_name' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:148:23: note: 'gtk_status_icon_set_name' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:703:51: warning: 'gtk_misc_get_type' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkmisc.h:39:67: note: expanded from macro 'GTK_MISC'
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkmisc.h:38:32: note: expanded from macro 'GTK_TYPE_MISC'
/usr/local/Cellar/glib/2.46.0/include/glib-2.0/gobject/gtype.h:479:92: note: expanded from macro 'G_TYPE_CHECK_INSTANCE_CAST'
/usr/local/Cellar/glib/2.46.0/include/glib-2.0/gobject/gtype.h:2196:61: note: expanded from macro '_G_TYPE_CIC'
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70:9: note: 'gtk_misc_get_type' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:752:61: warning: 'gtk_alignment_get_type' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkalignment.h:39:81: note: expanded from macro 'GTK_ALIGNMENT'
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkalignment.h:38:46: note: expanded from macro 'GTK_TYPE_ALIGNMENT'
/usr/local/Cellar/glib/2.46.0/include/glib-2.0/gobject/gtype.h:479:92: note: expanded from macro 'G_TYPE_CHECK_INSTANCE_CAST'
/usr/local/Cellar/glib/2.46.0/include/glib-2.0/gobject/gtype.h:2196:61: note: expanded from macro '_G_TYPE_CIC'
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkalignment.h:77:12: note: 'gtk_alignment_get_type' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:2647:2: warning: 'gtk_alignment_get_padding' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkalignment.h:98:12: note: 'gtk_alignment_get_padding' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:2661:42: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: 'gtk_alignment_new' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:2676:2: warning: 'gtk_alignment_set' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkalignment.h:84:12: note: 'gtk_alignment_set' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:2689:2: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: 'gtk_alignment_set_padding' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:3170:2: warning: 'gtk_button_get_alignment' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtkbutton.h:147:23: note: 'gtk_button_get_alignment' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:3287:2: warning: 'gtk_button_set_alignment' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtkbutton.h:143:23: note: 'gtk_button_set_alignment' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:6895:2: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: 'gtk_misc_set_alignment' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8299:2: warning: 'gtk_settings_set_double_property' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtksettings.h:138:10: note: 'gtk_settings_set_double_property' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8311:2: warning: 'gtk_settings_set_long_property' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtksettings.h:133:10: note: 'gtk_settings_set_long_property' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8323:2: warning: 'gtk_settings_set_string_property' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtksettings.h:128:10: note: 'gtk_settings_set_string_property' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8491:23: warning: 'gtk_status_icon_get_has_tooltip' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:171:23: note: 'gtk_status_icon_get_has_tooltip' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8504:42: warning: 'gtk_status_icon_get_icon_name' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:120:23: note: 'gtk_status_icon_get_icon_name' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8517:42: warning: 'gtk_status_icon_get_pixbuf' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:116:23: note: 'gtk_status_icon_get_pixbuf' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8530:42: warning: 'gtk_status_icon_get_tooltip_markup' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:175:23: note: 'gtk_status_icon_get_tooltip_markup' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8543:42: warning: 'gtk_status_icon_get_tooltip_text' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:173:23: note: 'gtk_status_icon_get_tooltip_text' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8557:23: warning: 'gtk_status_icon_get_visible' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:154:23: note: 'gtk_status_icon_get_visible' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8569:42: warning: 'gtk_status_icon_new' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:84:23: note: 'gtk_status_icon_new' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8582:42: warning: 'gtk_status_icon_new_from_file' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:88:23: note: 'gtk_status_icon_new_from_file' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8595:42: warning: 'gtk_status_icon_new_from_icon_name' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:92:23: note: 'gtk_status_icon_new_from_icon_name' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8608:42: warning: 'gtk_status_icon_new_from_pixbuf' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:86:23: note: 'gtk_status_icon_new_from_pixbuf' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8623:2: warning: 'gtk_status_icon_position_menu' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:160:23: note: 'gtk_status_icon_position_menu' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8633:2: warning: 'gtk_status_icon_set_from_file' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:100:23: note: 'gtk_status_icon_set_from_file' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8643:2: warning: 'gtk_status_icon_set_from_icon_name' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:106:23: note: 'gtk_status_icon_set_from_icon_name' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8653:2: warning: 'gtk_status_icon_set_from_pixbuf' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:97:23: note: 'gtk_status_icon_set_from_pixbuf' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8664:2: warning: 'gtk_status_icon_set_has_tooltip' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:134:23: note: 'gtk_status_icon_set_has_tooltip' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8674:2: warning: 'gtk_status_icon_set_tooltip_markup' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:140:23: note: 'gtk_status_icon_set_tooltip_markup' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8684:2: warning: 'gtk_status_icon_set_tooltip_text' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:137:23: note: 'gtk_status_icon_set_tooltip_text' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:8695:2: warning: 'gtk_status_icon_set_visible' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:151:23: note: 'gtk_status_icon_set_visible' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:11655:2: warning: 'gtk_widget_override_background_color' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtkwidget.h:1137:14: note: 'gtk_widget_override_background_color' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:11667:2: warning: 'gtk_widget_override_color' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtkwidget.h:1133:14: note: 'gtk_widget_override_color' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:11677:2: warning: 'gtk_widget_override_font' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtkwidget.h:1142:14: note: 'gtk_widget_override_font' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:11723:2: warning: 'gtk_widget_reparent' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtkwidget.h:753:9: note: 'gtk_widget_reparent' has been explicitly marked deprecated here
../../agl/go-gtk/gtk/gtk.go:11756:2: warning: 'gtk_widget_set_double_buffered' is deprecated [-Wdeprecated-declarations]
/usr/local/Cellar/gtk+3/3.18.1/include/gtk-3.0/gtk/gtkwidget.h:876:23: note: 'gtk_widget_set_double_buffered' has been explicitly marked deprecated here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment