summaryrefslogtreecommitdiff
path: root/src/eom-print-preview.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-29 23:07:31 +0200
committerinfirit <[email protected]>2014-07-29 23:15:21 +0200
commite4d01d7b58101e35461f5251f842bfd204a4be29 (patch)
treec0a86e28dc5f2c2ff6923037b8cee48f3d3b5bd5 /src/eom-print-preview.c
parentf8e85177acadfa4d1cfea8ff0987efb12927f97e (diff)
downloadeom-e4d01d7b58101e35461f5251f842bfd204a4be29.tar.bz2
eom-e4d01d7b58101e35461f5251f842bfd204a4be29.tar.xz
all: Fix a load of warnings
Partly based on eog commit 3859553433838e97367e7678f9da4ba2bcc7f973 From Cosimo Cecchi <[email protected]>
Diffstat (limited to 'src/eom-print-preview.c')
-rw-r--r--src/eom-print-preview.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/eom-print-preview.c b/src/eom-print-preview.c
index 8839eaa..3986df1 100644
--- a/src/eom-print-preview.c
+++ b/src/eom-print-preview.c
@@ -566,13 +566,11 @@ expose_event_cb (GtkDrawingArea *drawing_area,
gpointer user_data)
{
GtkWidget *widget;
- EomPrintPreviewPrivate *priv;
#if !GTK_CHECK_VERSION (3, 0, 0)
cairo_t *cr;
#endif
widget = GTK_WIDGET (drawing_area);
- priv = EOM_PRINT_PREVIEW (user_data)->priv;
update_relative_sizes (EOM_PRINT_PREVIEW (user_data));
@@ -882,13 +880,10 @@ key_press_event_cb (GtkWidget *widget,
GdkEventKey *event,
gpointer user_data)
{
- EomPrintPreviewPrivate *priv;
gfloat delta, align;
gboolean stop_emission = FALSE;
const gchar *property;
- priv = EOM_PRINT_PREVIEW (user_data)->priv;
-
delta = 0;
switch (event->keyval) {