[mednaffe] 48/99: Fix columns hidden on GTK+3

Stephen Kitt skitt at moszumanska.debian.org
Tue Aug 2 21:00:05 UTC 2016


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

skitt pushed a commit to branch master
in repository mednaffe.

commit 4d32bd170841833a50b7946b363f84dbe267902d
Author: AmatCoder <amatcoder at gmail.com>
Date:   Fri Apr 3 16:39:04 2015 +0200

    Fix columns hidden on GTK+3
---
 src/input.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/input.c b/src/input.c
index c4491ed..f7e76d3 100644
--- a/src/input.c
+++ b/src/input.c
@@ -406,8 +406,10 @@ void on_input_clicked (GtkButton *button, guidata *gui)
   else
     g_object_set(G_OBJECT(gtk_builder_get_object(gui->specific,
                                   "cellkey")), "editable", FALSE, NULL); 
-
+                                  
   gtk_widget_show(gui->inputwindow);
+  gtk_tree_view_columns_autosize(GTK_TREE_VIEW(gtk_builder_get_object(
+                                     gui->specific, "treeview_input")));
   gtk_window_set_resizable(GTK_WINDOW(gui->inputwindow), FALSE);
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mednaffe.git



More information about the Pkg-games-commits mailing list