[sushi/wip/cosimoc/no-clutter: 9/66] evince: return a GtkWidget
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi/wip/cosimoc/no-clutter: 9/66] evince: return a GtkWidget
- Date: Sat, 8 Jun 2019 18:40:54 +0000 (UTC)
commit d1b423263d39a846b1b5c29c68c85a7c66fd3fa0
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Apr 3 12:37:25 2017 -0700
evince: return a GtkWidget
src/js/viewers/evince.js | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/js/viewers/evince.js b/src/js/viewers/evince.js
index 6f8df3e..e6ba00c 100644
--- a/src/js/viewers/evince.js
+++ b/src/js/viewers/evince.js
@@ -26,7 +26,6 @@
const EvDoc = imports.gi.EvinceDocument;
const EvView = imports.gi.EvinceView;
const Gtk = imports.gi.Gtk;
-const GtkClutter = imports.gi.GtkClutter;
const Sushi = imports.gi.Sushi;
const Gettext = imports.gettext.domain('sushi');
@@ -62,7 +61,7 @@ const EvinceRenderer = new Lang.Class({
},
render : function() {
- return this._actor;
+ return this._scrolledWin;
},
_updatePageLabel : function() {
@@ -100,9 +99,6 @@ const EvinceRenderer = new Lang.Class({
this._view.set_model(this._model);
this._scrolledWin.add(this._view);
- this._actor = new GtkClutter.Actor({ contents: this._scrolledWin });
- this._actor.set_reactive(true);
-
this._callback();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]