Skip to content

Commit

Permalink
Removed load_file field from Player struct
Browse files Browse the repository at this point in the history
  • Loading branch information
michalderkacz committed Sep 21, 2011
1 parent ebf92b0 commit 7dfbf50
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ type Player struct {
bus *gst.Bus
window *gtk.Window
movie_area *gtk.DrawingArea
load_file *gtk.FileChooser
file_path string
xid uint
}
Expand Down Expand Up @@ -85,7 +84,6 @@ func NewPlayer() *Player {
gtk.FILE_CHOOSER_ACTION_OPEN,
)
fcb.Connect("selection-changed", (*Player).onFileSelected, p)
p.load_file = gtk.FileChooserCast(fcb.AsWidget())
hbox.Add(fcb.AsWidget())

button := gtk.NewButtonFromStock("gtk-media-play")
Expand Down

0 comments on commit 7dfbf50

Please sign in to comment.