summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-26 13:15:11 +0300
committermonsta <[email protected]>2016-01-26 13:15:11 +0300
commit5a346bff46de02cd2e9641fc4c72ef5d6b067d66 (patch)
tree3d30eeb34c03242853f2ba2e59ecbbfd4d172f1f /src
parent6b552f7968a844990a1b920da01d8dafc5cc0c33 (diff)
downloadcaja-5a346bff46de02cd2e9641fc4c72ef5d6b067d66.tar.bz2
caja-5a346bff46de02cd2e9641fc4c72ef5d6b067d66.tar.xz
remove some unused/unneeded stuff
Diffstat (limited to 'src')
-rw-r--r--src/caja-application.c6
-rw-r--r--src/caja-bookmark-list.c1
-rw-r--r--src/caja-window-menus.c1
-rw-r--r--src/caja-window.c6
4 files changed, 0 insertions, 14 deletions
diff --git a/src/caja-application.c b/src/caja-application.c
index cb016804..96d106df 100644
--- a/src/caja-application.c
+++ b/src/caja-application.c
@@ -41,9 +41,6 @@
#include "caja-notes-viewer.h"
#include "caja-emblem-sidebar.h"
#include "caja-image-properties-page.h"
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
#include <string.h>
#include "caja-desktop-window.h"
#include "caja-main.h"
@@ -56,7 +53,6 @@
#include "caja-window-private.h"
#include "caja-window-manage-views.h"
#include "caja-freedesktop-dbus.h"
-#include <unistd.h>
#include <libxml/xmlsave.h>
#include <glib/gstdio.h>
#include <glib/gi18n.h>
@@ -90,8 +86,6 @@ enum {
#define APPLICATION_WINDOW_MIN_WIDTH 300
#define APPLICATION_WINDOW_MIN_HEIGHT 100
-#define START_STATE_CONFIG "start-state"
-
#define CAJA_ACCEL_MAP_SAVE_DELAY 30
/* Keeps track of all the desktop windows. */
diff --git a/src/caja-bookmark-list.c b/src/caja-bookmark-list.c
index c0976396..8aac12da 100644
--- a/src/caja-bookmark-list.c
+++ b/src/caja-bookmark-list.c
@@ -35,7 +35,6 @@
#include <gio/gio.h>
#include <string.h>
-#define MAX_BOOKMARK_LENGTH 80
#define LOAD_JOB 1
#define SAVE_JOB 2
diff --git a/src/caja-window-menus.c b/src/caja-window-menus.c
index 4a0d721d..da442f59 100644
--- a/src/caja-window-menus.c
+++ b/src/caja-window-menus.c
@@ -57,7 +57,6 @@
#define MATE_DESKTOP_USE_UNSTABLE_API
#include <libmate-desktop/mate-aboutdialog.h>
-#include <libmate-desktop/mate-desktop-utils.h>
#include <string.h>
diff --git a/src/caja-window.c b/src/caja-window.c
index 885815b8..03a01032 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -62,21 +62,15 @@
#include <libcaja-private/caja-clipboard.h>
#include <libcaja-private/caja-search-directory.h>
#include <libcaja-private/caja-signaller.h>
-#include <math.h>
-#include <sys/time.h>
#define MAX_HISTORY_ITEMS 50
#define EXTRA_VIEW_WIDGETS_BACKGROUND "#a7c6e1"
-#define SIDE_PANE_MINIMUM_WIDTH 1
-#define SIDE_PANE_MINIMUM_HEIGHT 400
-
/* dock items */
#define CAJA_MENU_PATH_EXTRA_VIEWER_PLACEHOLDER "/MenuBar/View/View Choices/Extra Viewer"
#define CAJA_MENU_PATH_SHORT_LIST_PLACEHOLDER "/MenuBar/View/View Choices/Short List"
-#define CAJA_MENU_PATH_AFTER_SHORT_LIST_SEPARATOR "/MenuBar/View/View Choices/After Short List"
enum {
ARG_0,