summaryrefslogtreecommitdiff
path: root/src/procman_matesu.cpp
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-03-01 15:08:41 +0300
committermonsta <[email protected]>2016-03-01 15:08:41 +0300
commitdc2c4085936c4768bbfa03260dfd93ebaa3f8fad (patch)
tree8e1816f52c5b6bc8b32b0b64c2be1e75ee6ddbca /src/procman_matesu.cpp
parent59b405f49c4548e9c0ebf3fd2329ca0b0a042125 (diff)
downloadmate-system-monitor-dc2c4085936c4768bbfa03260dfd93ebaa3f8fad.tar.bz2
mate-system-monitor-dc2c4085936c4768bbfa03260dfd93ebaa3f8fad.tar.xz
drop weird matesu support (did matesu ever exist?!)
Diffstat (limited to 'src/procman_matesu.cpp')
-rw-r--r--src/procman_matesu.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/procman_matesu.cpp b/src/procman_matesu.cpp
deleted file mode 100644
index b7c08ad..0000000
--- a/src/procman_matesu.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-#include <config.h>
-
-#include <glib.h>
-
-#include "procman.h"
-#include "procman_matesu.h"
-#include "util.h"
-
-gboolean (*matesu_exec)(const char *commandline);
-
-
-static void
-load_matesu(void)
-{
- static gboolean init;
-
- if (init)
- return;
-
- init = TRUE;
-
- load_symbols("libmatesu.so.0",
- "matesu_exec", &matesu_exec,
- NULL);
-}
-
-
-gboolean
-procman_matesu_create_root_password_dialog(const char *command)
-{
- return matesu_exec(command);
-}
-
-
-gboolean
-procman_has_matesu(void)
-{
- load_matesu();
- return matesu_exec != NULL;
-}