diff --git a/src/desktop.h b/src/desktop.h
index 4c255ecbbb140f9c935c43ec9afe5e423e7534ff..3bf6fa65a99e5f6ee373fd1c520b2f3c50cdc3c7 100644 (file)
--- a/src/desktop.h
+++ b/src/desktop.h
#include "config.h"
#endif
+#include <gdk/gdkevents.h>
#include <gtk/gtktypeutils.h>
#include <sigc++/sigc++.h>
+
#include "libnr/nr-matrix.h"
#include "libnr/nr-matrix-fns.h"
#include "libnr/nr-rect.h"
struct SPStyle;
struct SPViewWidget;
+namespace Gtk
+{
+ class Widget;
+}
+
typedef int sp_verb_t;
+
+
namespace Inkscape {
class Application;
class MessageContext;
void setWindowPosition (NR::Point p);
void setWindowSize (gint w, gint h);
void setWindowTransient (void* p, int transient_policy=1);
- void getToplevel( GtkWidget*& toplevel );
+ void getToplevel( Gtk::Widget*& toplevel );
void presentWindow();
bool warnDialog (gchar *text);
void toggleRulers();
virtual void mouseover() {}
virtual void mouseout() {}
+ virtual bool onDeleteUI (GdkEventAny*);
+ virtual bool onWindowStateEvent (GdkEventWindowState* event);
+
private:
Inkscape::UI::View::EditWidgetInterface *_widget;
Inkscape::Application *_inkscape;