diff --git a/ede-desktop/ede-desktop.cpp b/ede-desktop/ede-desktop.cpp index 2de8b09..e550a71 100644 --- a/ede-desktop/ede-desktop.cpp +++ b/ede-desktop/ede-desktop.cpp @@ -145,14 +145,14 @@ static void desktop_message_handler(int action, Window xid, void *data) { } } -Desktop::Desktop() : DESKTOP_WINDOW(0, 0, 100, 100, "") { +Desktop::Desktop() : EDE_DESKTOP_WINDOW(0, 0, 100, 100, "") { selection_x = selection_y = 0; moving = false; do_dirwatch = true; #ifdef USE_EDELIB_WINDOW edelib::foreign_callback_add(this, "ede-desktop", settings_changed_cb); - /* DESKTOP_WINDOW::single_bufer(true); */ + /* EDE_DESKTOP_WINDOW::single_bufer(true); */ #endif selbox = new SelectionOverlay; @@ -260,7 +260,7 @@ Desktop* Desktop::instance(void) { void Desktop::show(void) { if(shown()) - return DESKTOP_WINDOW::show(); + return EDE_DESKTOP_WINDOW::show(); window_xid_create(this, make_me_desktop); } @@ -873,7 +873,7 @@ void Desktop::draw(void) { */ clear_xoverlay(); - DESKTOP_WINDOW::draw(); + EDE_DESKTOP_WINDOW::draw(); E_DEBUG(E_STRLOC ": REDRAW ALL\n"); } @@ -1089,7 +1089,7 @@ int Desktop::handle(int event) { case FL_ENTER: case FL_LEAVE: case FL_MOVE: - return DESKTOP_WINDOW::handle(event); + return EDE_DESKTOP_WINDOW::handle(event); default: break; diff --git a/ede-desktop/ede-desktop.h b/ede-desktop/ede-desktop.h index 00ed2da..efa4d21 100644 --- a/ede-desktop/ede-desktop.h +++ b/ede-desktop/ede-desktop.h @@ -15,11 +15,11 @@ #ifdef USE_EDELIB_WINDOW # include -# define DESKTOP_WINDOW edelib::Window +# define EDE_DESKTOP_WINDOW edelib::Window #else # include # include -# define DESKTOP_WINDOW Fl_Window +# define EDE_DESKTOP_WINDOW Fl_Window #endif #include @@ -88,7 +88,7 @@ typedef edelib::list::iterator DesktopIconListIter; typedef edelib::list StringList; typedef edelib::list::iterator StringListIter; -class Desktop : public DESKTOP_WINDOW { +class Desktop : public EDE_DESKTOP_WINDOW { private: static Desktop* pinstance;