~ubuntu-branches/ubuntu/quantal/gtkmm3.0/quantal

« back to all changes in this revision

Viewing changes to gtk/gtkmm/textmark.cc

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-09-28 09:25:06 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20120928092506-9h63ais5o750a8sk
Tags: 3.5.13-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libglibmm-2.4-dev, libgtk-3-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#include <gtkmm/private/textmark_p.h>
8
8
 
9
9
 
10
 
// -*- c++ -*-
11
 
/* $Id: textmark.ccg,v 1.1 2003/01/21 13:40:43 murrayc Exp $ */
12
 
 
13
 
/* 
14
 
 *
 
10
/*
15
11
 * Copyright 1998-2002 The gtkmm Development Team
16
12
 *
17
13
 * This library is free software; you can redistribute it and/or
176
172
 
177
173
void TextMark::set_visible(bool setting)
178
174
{
179
 
  gtk_text_mark_set_visible(gobj(), static_cast<int>(setting)); 
 
175
  gtk_text_mark_set_visible(gobj(), static_cast<int>(setting));
180
176
}
181
177
 
182
178
bool TextMark::get_visible() const
196
192
 
197
193
Glib::RefPtr<TextBuffer> TextMark::get_buffer()
198
194
{
199
 
 
200
195
  Glib::RefPtr<TextBuffer> retvalue = Glib::wrap(gtk_text_mark_get_buffer(gobj()));
201
196
  if(retvalue)
202
197
    retvalue->reference(); //The function does not do a ref for us.
203
198
  return retvalue;
204
 
 
205
199
}
206
200
 
207
201
Glib::RefPtr<const TextBuffer> TextMark::get_buffer() const