summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eom-image.c3
-rw-r--r--src/eom-jobs.c3
-rw-r--r--src/eom-list-store.c3
-rw-r--r--src/eom-metadata-reader-jpg.c1
-rw-r--r--src/eom-preferences-dialog.c1
-rw-r--r--src/eom-scroll-view.c6
-rw-r--r--src/eom-thumb-nav.c1
-rw-r--r--src/eom-util.c3
-rw-r--r--src/main.c2
9 files changed, 0 insertions, 23 deletions
diff --git a/src/eom-image.c b/src/eom-image.c
index 191acd4..e56655e 100644
--- a/src/eom-image.c
+++ b/src/eom-image.c
@@ -61,9 +61,6 @@
#if defined(HAVE_LCMS) && defined(GDK_WINDOWING_X11)
#include <lcms2.h>
-#ifndef EXIF_TAG_GAMMA
-#define EXIF_TAG_GAMMA 0xa500
-#endif
#endif
#ifdef HAVE_RSVG
diff --git a/src/eom-jobs.c b/src/eom-jobs.c
index 6baed21..c78b707 100644
--- a/src/eom-jobs.c
+++ b/src/eom-jobs.c
@@ -33,9 +33,6 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
-#define EOM_JOB_GET_PRIVATE(object) \
- (G_TYPE_INSTANCE_GET_PRIVATE ((object), EOM_TYPE_JOB, EomJobPrivate))
-
G_DEFINE_TYPE (EomJob, eom_job, G_TYPE_OBJECT);
G_DEFINE_TYPE (EomJobThumbnail, eom_job_thumbnail, EOM_TYPE_JOB);
G_DEFINE_TYPE (EomJobLoad, eom_job_load, EOM_TYPE_JOB);
diff --git a/src/eom-list-store.c b/src/eom-list-store.c
index 71ac565..e37dc61 100644
--- a/src/eom-list-store.c
+++ b/src/eom-list-store.c
@@ -29,9 +29,6 @@
#include <string.h>
-#define EOM_LIST_STORE_GET_PRIVATE(object) \
- (G_TYPE_INSTANCE_GET_PRIVATE ((object), EOM_TYPE_LIST_STORE, EomListStorePrivate))
-
struct _EomListStorePrivate {
GList *monitors; /* Monitors for the directories */
gint initial_image; /* The image that should be selected firstly by the view. */
diff --git a/src/eom-metadata-reader-jpg.c b/src/eom-metadata-reader-jpg.c
index b49135a..9c1897e 100644
--- a/src/eom-metadata-reader-jpg.c
+++ b/src/eom-metadata-reader-jpg.c
@@ -54,7 +54,6 @@ typedef enum {
#define EOM_JPEG_MARKER_START 0xFF
-#define EOM_JPEG_MARKER_SOI 0xD8
#define EOM_JPEG_MARKER_APP1 0xE1
#define EOM_JPEG_MARKER_APP2 0xE2
#define EOM_JPEG_MARKER_APP14 0xED
diff --git a/src/eom-preferences-dialog.c b/src/eom-preferences-dialog.c
index 0d97502..ea3a65d 100644
--- a/src/eom-preferences-dialog.c
+++ b/src/eom-preferences-dialog.c
@@ -38,7 +38,6 @@
#include <gio/gio.h>
#include <libpeas-gtk/peas-gtk-plugin-manager.h>
-#define GSETTINGS_OBJECT_KEY "GSETTINGS_KEY"
#define GSETTINGS_OBJECT_VALUE "GSETTINGS_VALUE"
struct _EomPreferencesDialogPrivate {
diff --git a/src/eom-scroll-view.c b/src/eom-scroll-view.c
index aa06906..79d89d6 100644
--- a/src/eom-scroll-view.c
+++ b/src/eom-scroll-view.c
@@ -19,10 +19,6 @@
#include <gdk/gdk.h>
-/* Maximum size of delayed repaint rectangles */
-#define PAINT_RECT_WIDTH 128
-#define PAINT_RECT_HEIGHT 128
-
/* Scroll step increment */
#define SCROLL_STEP_SIZE 32
@@ -32,10 +28,8 @@
#define CHECK_MEDIUM 8
#define CHECK_BLACK "#000000"
-#define CHECK_DARK "#555555"
#define CHECK_GRAY "#808080"
#define CHECK_LIGHT "#cccccc"
-#define CHECK_WHITE "#ffffff"
/* Default increment for zooming. The current zoom factor is multiplied or
* divided by this amount on every zooming step. For consistency, you should
diff --git a/src/eom-thumb-nav.c b/src/eom-thumb-nav.c
index 54da189..515a787 100644
--- a/src/eom-thumb-nav.c
+++ b/src/eom-thumb-nav.c
@@ -34,7 +34,6 @@
#include <string.h>
#define EOM_THUMB_NAV_SCROLL_INC 20
-#define EOM_THUMB_NAV_SCROLL_MOVE 20
#define EOM_THUMB_NAV_SCROLL_TIMEOUT 20
enum
diff --git a/src/eom-util.c b/src/eom-util.c
index 33bbe1a..324b7f3 100644
--- a/src/eom-util.c
+++ b/src/eom-util.c
@@ -27,9 +27,6 @@
#endif
#include <sys/time.h>
-#ifdef HAVE_STRPTIME
-#define _XOPEN_SOURCE
-#endif /* HAVE_STRPTIME */
#include <time.h>
diff --git a/src/main.c b/src/main.c
index dbe7713..cf8abec 100644
--- a/src/main.c
+++ b/src/main.c
@@ -46,8 +46,6 @@
#include <exempi/xmp.h>
#endif
-#define EOM_CSS_FILE_PATH EOM_DATA_DIR G_DIR_SEPARATOR_S "eom.css"
-
static EomStartupFlags flags;
static gboolean fullscreen = FALSE;