summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index b907b81d8..fccee47bc 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -917,33 +917,6 @@ Geom::Rect SPDesktop::get_display_area() const
return viewbox * Geom::Scale(1. / scale, _doc2dt[3] / scale);
}
-guint SPDesktop::get_hruler_thickness()
-{
- Gtk::Window *parent = getToplevel();
- if (parent) {
- SPDesktopWidget *dtw = static_cast<SPDesktopWidget *>(parent->get_data("desktopwidget"));
- GtkAllocation allocation;
- gtk_widget_get_allocation(dtw->hruler, &allocation);
- return allocation.height;
- }
- return 0;
-}
-
-guint SPDesktop::get_vruler_thickness()
-{
- Gtk::Window *parent = getToplevel();
- if (parent) {
- SPDesktopWidget *dtw = static_cast<SPDesktopWidget *>(parent->get_data("desktopwidget"));
- GtkAllocation allocation;
- gtk_widget_get_allocation(dtw->vruler, &allocation);
- return allocation.width;
- }
- return 0;
-}
-
-int get_hruler_thickness();
-int get_vruler_thickness();
-
/**
* Zoom keeping the point 'c' fixed in the desktop window.
*/