mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-17 23:50:16 +00:00
GtkAboutDialog: Initialize a variable
Coverity complains about it being uninitialized, otherwise.
This commit is contained in:
parent
52af9aede6
commit
c5c7323942
@ -2395,6 +2395,8 @@ create_credits_page (GtkAboutDialog *about)
|
|||||||
gtk_widget_set_valign (grid, GTK_ALIGN_START);
|
gtk_widget_set_valign (grid, GTK_ALIGN_START);
|
||||||
gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (sw), grid);
|
gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (sw), grid);
|
||||||
|
|
||||||
|
row = 0;
|
||||||
|
|
||||||
if (priv->authors != NULL)
|
if (priv->authors != NULL)
|
||||||
add_credits_section (about, GTK_GRID (grid), &row, _("Created by"), priv->authors);
|
add_credits_section (about, GTK_GRID (grid), &row, _("Created by"), priv->authors);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user