[gnome-terminal] screen-container: Remove wrong compiler attribute



commit 0bc76affff7c677844167266a0eba4e43d2472d8
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Feb 26 16:33:04 2015 +0100

    screen-container: Remove wrong compiler attribute
    
    Even though we never show a horizontal scrollbar, the hpolicy argument
    is not really unused in this case.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733210

 src/terminal-screen-container.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-screen-container.c b/src/terminal-screen-container.c
index 5a6c252..51012e7 100644
--- a/src/terminal-screen-container.c
+++ b/src/terminal-screen-container.c
@@ -290,7 +290,7 @@ terminal_screen_container_get_from_screen (TerminalScreen *screen)
  */
 void
 terminal_screen_container_set_policy (TerminalScreenContainer *container,
-                                      GtkPolicyType hpolicy G_GNUC_UNUSED,
+                                      GtkPolicyType hpolicy,
                                       GtkPolicyType vpolicy)
 {
   TerminalScreenContainerPrivate *priv;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]