summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/copy-theme-dialog.c4
-rw-r--r--src/gs-fade.c2
-rw-r--r--src/gs-grab-x11.c2
-rw-r--r--src/gs-job.c2
-rw-r--r--src/gs-listener-dbus.c2
-rw-r--r--src/gs-manager.c2
-rw-r--r--src/gs-monitor.c2
-rw-r--r--src/gs-prefs.c2
-rw-r--r--src/gs-theme-manager.c2
-rw-r--r--src/gs-watcher-x11.c2
-rw-r--r--src/gs-window-x11.c2
-rw-r--r--src/mate-screensaver-preferences.c2
12 files changed, 2 insertions, 24 deletions
diff --git a/src/copy-theme-dialog.c b/src/copy-theme-dialog.c
index 8b4d9b9..816d789 100644
--- a/src/copy-theme-dialog.c
+++ b/src/copy-theme-dialog.c
@@ -32,10 +32,6 @@
#include "copy-theme-dialog.h"
static void
-copy_theme_dialog_class_init (CopyThemeDialogClass *klass);
-static void
-copy_theme_dialog_init (CopyThemeDialog *dlg);
-static void
add_file_to_dialog (gpointer data, gpointer user_data);
static void
single_copy_complete (GObject *source_object, GAsyncResult *res,
diff --git a/src/gs-fade.c b/src/gs-fade.c
index 3248260..4e4995b 100644
--- a/src/gs-fade.c
+++ b/src/gs-fade.c
@@ -56,8 +56,6 @@
#endif /* HAVE_XF86VMODE_GAMMA */
-static void gs_fade_class_init (GSFadeClass *klass);
-static void gs_fade_init (GSFade *fade);
static void gs_fade_finalize (GObject *object);
struct GSGammaInfo
diff --git a/src/gs-grab-x11.c b/src/gs-grab-x11.c
index 4330c76..689c519 100644
--- a/src/gs-grab-x11.c
+++ b/src/gs-grab-x11.c
@@ -33,8 +33,6 @@
#include "gs-grab.h"
#include "gs-debug.h"
-static void gs_grab_class_init (GSGrabClass *klass);
-static void gs_grab_init (GSGrab *grab);
static void gs_grab_finalize (GObject *object);
static gpointer grab_object = NULL;
diff --git a/src/gs-job.c b/src/gs-job.c
index c15f6bd..7d4c4be 100644
--- a/src/gs-job.c
+++ b/src/gs-job.c
@@ -44,8 +44,6 @@
#include "subprocs.h"
-static void gs_job_class_init (GSJobClass *klass);
-static void gs_job_init (GSJob *job);
static void gs_job_finalize (GObject *object);
typedef enum
diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c
index 1a83a38..f14bb9f 100644
--- a/src/gs-listener-dbus.c
+++ b/src/gs-listener-dbus.c
@@ -41,8 +41,6 @@
#include "gs-marshal.h"
#include "gs-debug.h"
-static void gs_listener_class_init (GSListenerClass *klass);
-static void gs_listener_init (GSListener *listener);
static void gs_listener_finalize (GObject *object);
static void gs_listener_unregister_handler (DBusConnection *connection,
diff --git a/src/gs-manager.c b/src/gs-manager.c
index 6f62337..00ec982 100644
--- a/src/gs-manager.c
+++ b/src/gs-manager.c
@@ -41,8 +41,6 @@
#include "gs-fade.h"
#include "gs-debug.h"
-static void gs_manager_class_init (GSManagerClass *klass);
-static void gs_manager_init (GSManager *manager);
static void gs_manager_finalize (GObject *object);
struct GSManagerPrivate
diff --git a/src/gs-monitor.c b/src/gs-monitor.c
index 4406942..7edf714 100644
--- a/src/gs-monitor.c
+++ b/src/gs-monitor.c
@@ -43,8 +43,6 @@
#include "gs-prefs.h"
#include "gs-debug.h"
-static void gs_monitor_class_init(GSMonitorClass* klass);
-static void gs_monitor_init(GSMonitor* monitor);
static void gs_monitor_finalize(GObject* object);
struct GSMonitorPrivate {
diff --git a/src/gs-prefs.c b/src/gs-prefs.c
index 8761c18..5a0746b 100644
--- a/src/gs-prefs.c
+++ b/src/gs-prefs.c
@@ -30,8 +30,6 @@
#include "gs-prefs.h"
-static void gs_prefs_class_init (GSPrefsClass *klass);
-static void gs_prefs_init (GSPrefs *prefs);
static void gs_prefs_finalize (GObject *object);
#define LOCKDOWN_SETTINGS_SCHEMA "org.mate.lockdown"
diff --git a/src/gs-theme-manager.c b/src/gs-theme-manager.c
index 2e92979..15f1354 100644
--- a/src/gs-theme-manager.c
+++ b/src/gs-theme-manager.c
@@ -36,8 +36,6 @@
#include "gs-theme-manager.h"
#include "gs-debug.h"
-static void gs_theme_manager_class_init (GSThemeManagerClass *klass);
-static void gs_theme_manager_init (GSThemeManager *theme_manager);
static void gs_theme_manager_finalize (GObject *object);
struct _GSThemeInfo
diff --git a/src/gs-watcher-x11.c b/src/gs-watcher-x11.c
index eac7859..58ea07e 100644
--- a/src/gs-watcher-x11.c
+++ b/src/gs-watcher-x11.c
@@ -37,8 +37,6 @@
#include "gs-marshal.h"
#include "gs-debug.h"
-static void gs_watcher_class_init (GSWatcherClass *klass);
-static void gs_watcher_init (GSWatcher *watcher);
static void gs_watcher_finalize (GObject *object);
static gboolean watchdog_timer (GSWatcher *watcher);
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index 723c162..3805e6f 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -41,8 +41,6 @@
#include <X11/extensions/shape.h>
#endif
-static void gs_window_class_init (GSWindowClass *klass);
-static void gs_window_init (GSWindow *window);
static void gs_window_finalize (GObject *object);
static gboolean popup_dialog_idle (GSWindow *window);
diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c
index db96788..e2d5fa6 100644
--- a/src/mate-screensaver-preferences.c
+++ b/src/mate-screensaver-preferences.c
@@ -1337,7 +1337,9 @@ setup_for_root_user (void)
}
/* copied from gs-window-x11.c */
+#ifndef _GNU_SOURCE
extern char **environ;
+#endif
static gchar **
spawn_make_environment_for_display (GdkDisplay *display,