diff options
| -rw-r--r-- | src/Makefile.am | 1 | ||||
| -rw-r--r-- | src/procdialogs.cpp | 3 | ||||
| -rw-r--r-- | src/procman_matesu.cpp | 40 | ||||
| -rw-r--r-- | src/procman_matesu.h | 12 | 
4 files changed, 0 insertions, 56 deletions
| diff --git a/src/Makefile.am b/src/Makefile.am index 4e2eda4..38588e9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -27,7 +27,6 @@ mate_system_monitor_cpp_files = \  	disks.cpp \  	selinux.cpp \  	cgroups.cpp \ -	procman_matesu.cpp \  	procman_gksu.cpp \  	sysinfo.cpp \  	lsof.cpp \ diff --git a/src/procdialogs.cpp b/src/procdialogs.cpp index c84eb07..f76d639 100644 --- a/src/procdialogs.cpp +++ b/src/procdialogs.cpp @@ -33,7 +33,6 @@  #include "util.h"  #include "load-graph.h"  #include "settings-keys.h" -#include "procman_matesu.h"  #include "procman_gksu.h"  #include "cgroups.h" @@ -884,8 +883,6 @@ procdialog_create_root_password_dialog(ProcmanActionType type,      if (procman_has_gksu())          ret = procman_gksu_create_root_password_dialog(command); -    else if (procman_has_matesu()) -        ret = procman_matesu_create_root_password_dialog(command);      g_free(command);      return ret; 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; -} diff --git a/src/procman_matesu.h b/src/procman_matesu.h deleted file mode 100644 index fb1a893..0000000 --- a/src/procman_matesu.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef H_MATE_SYSTEM_MONITOR_MATESU_H_1132171917 -#define H_MATE_SYSTEM_MONITOR_MATESU_H_1132171917 - -#include <glib.h> - -gboolean -procman_matesu_create_root_password_dialog(const char * message); - -gboolean -procman_has_matesu(void) G_GNUC_CONST; - -#endif /* H_MATE_SYSTEM_MONITOR_MATESU_H_1132171917 */ | 
