[gedit] Revert "left margin test"
- From: Sebastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Revert "left margin test"
- Date: Mon, 21 Jul 2014 17:50:18 +0000 (UTC)
commit 8993cc95cf507a0429a006ba5b2c75ef216ecae9
Author: Sebastien Lafargue <slafargue gnome org>
Date: Mon Jul 21 19:49:43 2014 +0200
Revert "left margin test"
This reverts commit 3c7c9f0e8eed3ba3dd2d634783308396233eb04e.
gedit/gedit-window.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index 4bc649f..0ad85b3 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -3431,10 +3431,6 @@ _gedit_window_get_all_tabs (GeditWindow *window)
void
_gedit_window_fullscreen (GeditWindow *window)
{
- GeditView *active_view;
- gint left_margin;
- gint right_margin;
-
g_return_if_fail (GEDIT_IS_WINDOW (window));
if (_gedit_window_is_fullscreen (window))
@@ -3446,14 +3442,6 @@ _gedit_window_fullscreen (GeditWindow *window)
gtk_widget_hide (window->priv->statusbar);
gtk_widget_show_all (window->priv->fullscreen_eventbox);
-
- active_view = gedit_window_get_active_view (window);
- left_margin = gtk_text_view_get_left_margin (GTK_TEXT_VIEW (active_view));
- right_margin = gtk_text_view_get_right_margin (GTK_TEXT_VIEW (active_view));
-
- gtk_text_view_set_left_margin (GTK_TEXT_VIEW (active_view), 100);
-
- gedit_debug_message (DEBUG_WINDOW, "left margin:%i, right margin:%i", left_margin, right_margin);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]