Skip to content

Commit

Permalink
Merge pull request conformal#6 from twstrike/fix-pr4
Browse files Browse the repository at this point in the history
Fix pull request conformal#4
  • Loading branch information
andre-hub committed Oct 16, 2015
2 parents 6f5340c + c639cf0 commit d2c55fc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
13 changes: 13 additions & 0 deletions gdk/gdk_deprecated_since_3_16.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//+build gtk_3_6 gtk_3_8 gtk_3_10 gtk_3_12 gtk_3_14

package gdk

// #cgo pkg-config: gdk-3.0
// #include <gdk/gdk.h>
import "C"

// SupportsComposite() is a wrapper around gdk_display_supports_composite().
func (v *Display) SupportsComposite() bool {
c := C.gdk_display_supports_composite(v.native())
return gobool(c)
}
6 changes: 0 additions & 6 deletions gtk/gtk_deprecated_since_3_16.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,3 @@ func (v *Widget) OverrideFont(description string) {
c := C.pango_font_description_from_string(cstr)
C.gtk_widget_override_font(v.native(), c)
}

// SupportsComposite() is a wrapper around gdk_display_supports_composite().
func (v *Display) SupportsComposite() bool {
c := C.gdk_display_supports_composite(v.native())
return gobool(c)
}

0 comments on commit d2c55fc

Please sign in to comment.