Use non-deprecated Widget::get_visible API in gtkmm2ext

This commit is contained in:
Tim Mayberry 2015-02-27 11:33:46 +10:00
parent f89123a40a
commit 1ed8bdf941
4 changed files with 7 additions and 7 deletions

View File

@ -230,7 +230,7 @@ Pane::reallocate (Gtk::Allocation const & alloc)
/* skip initial hidden children */
while (child != children.end()) {
if (child->w->is_visible()) {
if (child->w->get_visible()) {
break;
}
++child;
@ -245,7 +245,7 @@ Pane::reallocate (Gtk::Allocation const & alloc)
/* Move on to next *visible* child */
while (++next != children.end()) {
if (next->w->is_visible()) {
if (next->w->get_visible()) {
break;
}
}
@ -333,12 +333,12 @@ Pane::on_expose_event (GdkEventExpose* ev)
for (child = children.begin(), div = dividers.begin(); child != children.end(); ++child) {
if (child->w->is_visible()) {
if (child->w->get_visible()) {
propagate_expose (*(child->w), ev);
}
if (div != dividers.end()) {
if ((*div)->is_visible()) {
if ((*div)->get_visible()) {
propagate_expose (**div, ev);
}
++div;

View File

@ -146,7 +146,7 @@ PersistentTooltip::show ()
set_tip (_tip);
if (!_window->is_visible ()) {
if (!_window->get_visible ()) {
int rx, ry;
int sw = gdk_screen_width ();

View File

@ -95,7 +95,7 @@ PopUp::touch ()
{
ENSURE_GUI_THREAD (mem_fun (*this, &PopUp::touch));
if (is_visible ()) {
if (get_visible ()) {
remove ();
} else {
set_size_request_to_display_given_text (label, my_text.c_str(), 25, 10);

View File

@ -85,7 +85,7 @@ Tabbable::window_visible () const
return false;
}
return _window->is_visible();
return _window->get_visible();
}
Window*