Silence a compiler warning
authorMatthias Clasen <mclasen@redhat.com>
Wed, 29 Jan 2020 09:44:25 +0000 (10:44 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 29 Jan 2020 09:44:25 +0000 (10:44 +0100)
gtk/gtktextbtree.c

index a4f9b5398fc1dde0e40a42043580eea7bfbca12d..db7d3485e328df840428de2794b8e19d435ad660 100644 (file)
@@ -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);