summaryrefslogtreecommitdiff
path: root/libview/ev-loading-window.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <[email protected]>2012-09-29 16:06:39 +0200
committerraveit65 <[email protected]>2018-03-22 08:27:44 +0100
commita04ab7f1b28fd3e3f767baaa69b0c4eb06a0825a (patch)
tree8b835b9b07383ba4f3b7fb10e204ea00522e7617 /libview/ev-loading-window.h
parent9ac0d1a788affc0307d837b8011f533d16974841 (diff)
downloadatril-a04ab7f1b28fd3e3f767baaa69b0c4eb06a0825a.tar.bz2
atril-a04ab7f1b28fd3e3f767baaa69b0c4eb06a0825a.tar.xz
Use GtkOverlay to show the loading message
Remove the EvLoadingWindow from libview and move the implementation to the shell using a EvLoadingMessage widget and GtkOverlay. EvView has now a is-loading property that allows the users to implement their own loading notification system. This fixes several realted to the loading window. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-8&id=035c1cb
Diffstat (limited to 'libview/ev-loading-window.h')
-rw-r--r--libview/ev-loading-window.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/libview/ev-loading-window.h b/libview/ev-loading-window.h
deleted file mode 100644
index aac13614..00000000
--- a/libview/ev-loading-window.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/* ev-loading-window.h
- * this file is part of atril, a mate document viewer
- *
- * Copyright (C) 2010 Carlos Garcia Campos <[email protected]>
- *
- * Atril is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * Atril is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-#ifndef EV_LOADING_WINDOW_H
-#define EV_LOADING_WINDOW_H
-
-#include <gtk/gtk.h>
-
-G_BEGIN_DECLS
-
-typedef struct _EvLoadingWindow EvLoadingWindow;
-typedef struct _EvLoadingWindowClass EvLoadingWindowClass;
-
-#define EV_TYPE_LOADING_WINDOW (ev_loading_window_get_type())
-#define EV_LOADING_WINDOW(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_LOADING_WINDOW, EvLoadingWindow))
-#define EV_LOADING_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_LOADING_WINDOW, EvLoadingWindowClass))
-#define EV_IS_LOADING_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_LOADING_WINDOW))
-#define EV_IS_LOADING_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_LOADING_WINDOW))
-#define EV_LOADING_WINDOW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_LOADING_WINDOW, EvLoadingWindowClass))
-
-GType ev_loading_window_get_type (void) G_GNUC_CONST;
-GtkWidget *ev_loading_window_new (GtkWindow *parent);
-void ev_loading_window_get_size (EvLoadingWindow *window,
- gint *width,
- gint *height);
-void ev_loading_window_move (EvLoadingWindow *window,
- gint x,
- gint y);
-
-G_END_DECLS
-
-#endif /* EV_LOADING_WINDOW_H */