[evince/wip/gpoo/gtk4-rebase-port: 64/89] ev-view: toss useless code
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/gpoo/gtk4-rebase-port: 64/89] ev-view: toss useless code
- Date: Mon, 21 Mar 2022 01:11:30 +0000 (UTC)
commit b581f7844475cf926c48b59ad9047e9b433f3a66
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date: Sun Aug 22 16:05:12 2021 +0800
ev-view: toss useless code
Signed-off-by: Qiu Wenbo <qiuwenbo kylinos com cn>
libview/ev-view.c | 17 -----------------
1 file changed, 17 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index ab3be56f5..bcd0c10b3 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -203,14 +203,6 @@ static void ev_view_size_allocate (GtkWidget
int width,
int height,
int baseline);
-#if 0
- cairo_t *cr);
-static gboolean ev_view_popup_menu (GtkWidget *widget);
-static gboolean ev_view_button_press_event (GtkWidget *widget,
- GdkEventButton *event);
-static gboolean ev_view_button_release_event (GtkWidget *widget,
- GdkEventButton *event);
-#endif
static void ev_view_style_updated (GtkWidget *widget);
static void ev_view_remove_all (EvView *view);
static void ev_view_remove_all_form_fields (EvView *view);
@@ -5044,15 +5036,6 @@ ev_view_do_popup_menu (EvView *view,
return TRUE;
}
-static gboolean
-ev_view_popup_menu (GtkWidget *widget)
-{
- gint x, y;
-
- ev_document_misc_get_pointer_position (widget, &x, &y);
- return ev_view_do_popup_menu (EV_VIEW (widget), x, y);
-}
-
static void
get_link_area (EvView *view,
gint x,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]