~ubuntu-branches/ubuntu/wily/gedit-valencia-plugin/wily

« back to all changes in this revision

Viewing changes to gtk_util.vala

  • Committer: Bazaar Package Importer
  • Author(s): David Paleino
  • Date: 2011-03-05 10:12:45 UTC
  • mfrom: (2.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20110305101245-xf8a4akrwdiemflp
Tags: 0.3.0-2
* Package moved to section devel
* Port to vala-0.10 (01-fix_vala_dependencies.patch)
* Bump dependencies to use vala-0.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    return ret;
51
51
}
52
52
 
53
 
unowned string buffer_contents(Gtk.TextBuffer buffer) {
 
53
string buffer_contents(Gtk.TextBuffer buffer) {
54
54
    Gtk.TextIter start;
55
55
    Gtk.TextIter end;
56
56
    buffer.get_bounds(out start, out end);
279
279
        treeview = new Gtk.TreeView.with_model(list);
280
280
        treeview.append_column(column_view);
281
281
        treeview.headers_visible = false;
282
 
        treeview.focus_in_event += on_received_focus;
 
282
        treeview.focus_in_event.connect(on_received_focus);
283
283
 
284
284
        scrolled_window = new Gtk.ScrolledWindow(null, null); 
285
285
        scrolled_window.hscrollbar_policy = Gtk.PolicyType.NEVER;