diff options
author | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
commit | 22b07e0233a29d9633ffa825a79503befaf2e16e (patch) | |
tree | 1d8b06056f8e12197158f5d906319767d3dedda5 /libs/gtkmm2ext/click_box.cc | |
parent | e11ba7b79d68bc1070b170236c22123966d7bcc3 (diff) |
NOOP, remove trailing tabs/whitespace.
Diffstat (limited to 'libs/gtkmm2ext/click_box.cc')
-rw-r--r-- | libs/gtkmm2ext/click_box.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/gtkmm2ext/click_box.cc b/libs/gtkmm2ext/click_box.cc index 8782acaae8..876c68f665 100644 --- a/libs/gtkmm2ext/click_box.cc +++ b/libs/gtkmm2ext/click_box.cc @@ -135,21 +135,21 @@ ClickBox::on_expose_event (GdkEventExpose *ev) Glib::RefPtr<Gdk::GC> fg_gc (style->get_fg_gc (Gtk::STATE_NORMAL)); Glib::RefPtr<Gdk::GC> bg_gc (style->get_bg_gc (Gtk::STATE_NORMAL)); Glib::RefPtr<Gdk::Window> win (get_window()); - + GdkRectangle base_rect; GdkRectangle draw_rect; gint x, y, width, height, depth; - + win->get_geometry (x, y, width, height, depth); - + base_rect.width = width; base_rect.height = height; base_rect.x = 0; base_rect.y = 0; - + gdk_rectangle_intersect (&ev->area, &base_rect, &draw_rect); win->draw_rectangle (bg_gc, true, draw_rect.x, draw_rect.y, draw_rect.width, draw_rect.height); - + if (twidth && theight) { win->draw_layout (fg_gc, (width - twidth) / 2, (height - theight) / 2, layout); } |