mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Removed unneeded execute() member
This commit is contained in:
parent
b6d080e414
commit
a425c03182
@ -113,11 +113,11 @@ static void settings_changed_cb(void* data) {
|
||||
}
|
||||
|
||||
static void background_conf_cb(Fl_Widget*, void*) {
|
||||
Desktop::instance()->execute("ede-desktop-conf");
|
||||
edelib::run_async("ede-launch ede-desktop-conf");
|
||||
}
|
||||
|
||||
static void icons_conf_cb(Fl_Widget*, void*) {
|
||||
Desktop::instance()->execute("ede-desktop-conf --icons");
|
||||
edelib::run_async("ede-launch \"ede-desktop-conf --icons\"");
|
||||
}
|
||||
|
||||
static int desktop_xmessage_handler(int event) {
|
||||
@ -923,11 +923,6 @@ void Desktop::dir_watch(const char* dir, const char* changed, int flags) {
|
||||
E_DEBUG(E_STRLOC ": %s changed with %i\n", changed, flags);
|
||||
}
|
||||
|
||||
void Desktop::execute(const char* cmd) {
|
||||
E_ASSERT(cmd != NULL);
|
||||
edelib::run_async(cmd);
|
||||
}
|
||||
|
||||
int Desktop::handle(int event) {
|
||||
switch(event) {
|
||||
case FL_FOCUS:
|
||||
|
@ -163,8 +163,6 @@ public:
|
||||
void dir_watch(const char* dir, const char* changed, int flags);
|
||||
void dir_watch_on(void) { do_dirwatch = true; }
|
||||
void dir_watch_off(void) { do_dirwatch = false; }
|
||||
|
||||
void execute(const char* cmd);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user