summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2016-08-12 04:11:03 +0000
committerTed Gould <ted@gould.cx>2016-08-12 04:11:03 +0000
commitff848ebc9919d158c3ec3d7420e72b6aca99a3ea (patch)
tree030ab171865d0ed7f6bae3ef68315639cdb2622b /src/desktop.cpp
parentMerging 0.92.x branch (diff)
parentCloneTiler: Further C++ification (diff)
downloadinkscape-ff848ebc9919d158c3ec3d7420e72b6aca99a3ea.tar.gz
inkscape-ff848ebc9919d158c3ec3d7420e72b6aca99a3ea.zip
Merge trunk
(bzr r14950.1.20)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 331ab3351..9073a5dba 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -23,12 +23,11 @@
#ifdef HAVE_CONFIG_H
-# include "config.h"
+#include <config.h>
#endif
#include "ui/dialog/dialog-manager.h"
#include <glibmm/i18n.h>
-#include <sigc++/functors/mem_fun.h>
#include <2geom/transforms.h>
#include <2geom/rect.h>
@@ -45,35 +44,24 @@
#include "display/canvas-temporary-item-list.h"
#include "display/drawing-group.h"
#include "display/gnome-canvas-acetate.h"
-#include "display/drawing.h"
#include "display/snap-indicator.h"
#include "display/sodipodi-ctrlrect.h"
#include "display/sp-canvas-group.h"
-#include "display/sp-canvas.h"
#include "display/sp-canvas-util.h"
-#include "document.h"
#include "document-undo.h"
#include "event-log.h"
#include "helper/action-context.h"
#include "ui/interface.h"
#include "layer-fns.h"
#include "layer-manager.h"
-#include "layer-model.h"
-#include "macros.h"
#include "message-context.h"
#include "message-stack.h"
-#include "preferences.h"
#include "resource-manager.h"
#include "ui/tools/select-tool.h"
-#include "selection.h"
-#include "sp-item-group.h"
-#include "sp-item-group.h"
#include "sp-namedview.h"
#include "sp-root.h"
-#include "sp-defs.h"
#include "ui/tool-factory.h"
#include "widgets/desktop-widget.h"
-#include "xml/repr.h"
#include "helper/action.h" //sp_action_perform
// TODO those includes are only for node tool quick zoom. Remove them after fixing it.
@@ -1449,11 +1437,7 @@ void SPDesktop::setWaitingCursor()
GdkDisplay *display = gdk_display_get_default();
GdkCursor *waiting = gdk_cursor_new_for_display(display, GDK_WATCH);
gdk_window_set_cursor(gtk_widget_get_window(GTK_WIDGET(getCanvas())), waiting);
-#if GTK_CHECK_VERSION(3,0,0)
g_object_unref(waiting);
-#else
- gdk_cursor_unref(waiting);
-#endif
// GDK needs the flush for the cursor change to take effect
gdk_flush();
waiting_cursor = true;