projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6830845
)
Silence a compiler warning
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 29 Jan 2020 09:44:25 +0000
(10:44 +0100)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 29 Jan 2020 09:44:25 +0000
(10:44 +0100)
gtk/gtktextbtree.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextbtree.c
b/gtk/gtktextbtree.c
index a4f9b5398fc1dde0e40a42043580eea7bfbca12d..db7d3485e328df840428de2794b8e19d435ad660 100644
(file)
--- a/
gtk/gtktextbtree.c
+++ b/
gtk/gtktextbtree.c
@@
-5701,7
+5701,8
@@
tag_changed_cb (GtkTextTagTable *table,
while (view != NULL)
{
- gint width, height;
+ int width = 0;
+ int height = 0;
_gtk_text_btree_get_view_size (tree, view->view_id, &width, &height);
gtk_text_layout_changed (view->layout, 0, height, height);