This is an automated email from the git hooks/post-receive script.

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit c3f763cf74dc23d53cf988ce56368062afb0b8c2
Author: Igor <f2...@yandex.ru>
Date:   Wed Jun 29 17:48:41 2016 +0300

    Remove deprecated functionality
---
 terminal/terminal-screen.c          |  3 ---
 terminal/terminal-util.c            | 14 --------------
 terminal/terminal-util.h            |  3 ---
 terminal/terminal-window-dropdown.c |  1 -
 terminal/terminal-window.c          |  3 ---
 5 files changed, 24 deletions(-)

diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index cc8bc50..50b3785 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -2180,9 +2180,6 @@ terminal_screen_get_tab_label (TerminalScreen *screen)
                             G_CALLBACK (gtk_widget_destroy), screen);
   gtk_widget_show (button);
 
-  /* make button a bit smaller */
-  terminal_util_set_style_thinkess (button, 0);
-
   /* button image */
   image = gtk_image_new_from_icon_name ("window-close", GTK_ICON_SIZE_MENU);
   gtk_container_add (GTK_CONTAINER (button), image);
diff --git a/terminal/terminal-util.c b/terminal/terminal-util.c
index 9ed4d99..9a7eb77 100644
--- a/terminal/terminal-util.c
+++ b/terminal/terminal-util.c
@@ -93,20 +93,6 @@ terminal_util_show_about_dialog (GtkWindow *parent)
 
 
 void
-terminal_util_set_style_thinkess (GtkWidget *widget,
-                                  gint       thinkness)
-{
-  GtkRcStyle *style;
-
-  style = gtk_rc_style_new ();
-  style->xthickness = style->ythickness = thinkness;
-  gtk_widget_modify_style (widget, style);
-  g_object_unref (G_OBJECT (style));
-}
-
-
-
-void
 terminal_util_activate_window (GtkWindow *window)
 {
 #ifdef GDK_WINDOWING_X11
diff --git a/terminal/terminal-util.h b/terminal/terminal-util.h
index 62b98f1..c464ec4 100644
--- a/terminal/terminal-util.h
+++ b/terminal/terminal-util.h
@@ -24,9 +24,6 @@ G_BEGIN_DECLS
 
 void terminal_util_show_about_dialog  (GtkWindow    *parent);
 
-void terminal_util_set_style_thinkess (GtkWidget    *widget,
-                                       gint          thinkness);
-
 void terminal_util_activate_window    (GtkWindow    *window);
 
 G_END_DECLS
diff --git a/terminal/terminal-window-dropdown.c 
b/terminal/terminal-window-dropdown.c
index 3caba57..89f2ba6 100644
--- a/terminal/terminal-window-dropdown.c
+++ b/terminal/terminal-window-dropdown.c
@@ -257,7 +257,6 @@ terminal_window_dropdown_init (TerminalWindowDropdown 
*dropdown)
   gtk_notebook_set_tab_pos (GTK_NOTEBOOK (window->notebook), GTK_POS_BOTTOM);
   gtk_notebook_set_show_border (GTK_NOTEBOOK (window->notebook), TRUE);
   terminal_window_notebook_show_tabs (window);
-  terminal_util_set_style_thinkess (window->notebook, 1);
 
   /* actions we don't want */
   action = gtk_action_group_get_action (window->action_group, "show-borders");
diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index 3419e8a..1b0b17f 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -332,9 +332,6 @@ terminal_window_init (TerminalWindow *window)
                                    "show-tabs", always_show_tabs,
                                    NULL);
 
-  /* hide the ugly terminal border when tabs are shown */
-  terminal_util_set_style_thinkess (window->notebook, 0);
-
   /* set the notebook group id */
   gtk_notebook_set_group_name (GTK_NOTEBOOK (window->notebook), 
window_notebook_group);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to