]> Pileus Git - ~andy/gtk/commitdiff
Add a missing initialization. (#348787, Leonardo Boshell)
authorMatthias Clasen <mclasen@redhat.com>
Sun, 6 Aug 2006 04:25:57 +0000 (04:25 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 6 Aug 2006 04:25:57 +0000 (04:25 +0000)
2006-08-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfontbutton.c (gtk_font_button_update_font_info):
Add a missing initialization.  (#348787, Leonardo Boshell)

ChangeLog
ChangeLog.pre-2-10
gtk/gtkfontbutton.c

index 98ebdd80fe8688e6a372349fa6295e2943e33e5b..9b9c40298cf8f83bb8a0573f06da82fdbe9eb37a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-08-06  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkfontbutton.c (gtk_font_button_update_font_info): 
+       Add a missing initialization.  (#348787, Leonardo Boshell)
+       
        * configure.in: Use $PKG_CONFIG consistently.  (#348740,
        Jeremy LainĂ©)
        
index 98ebdd80fe8688e6a372349fa6295e2943e33e5b..9b9c40298cf8f83bb8a0573f06da82fdbe9eb37a 100644 (file)
@@ -1,5 +1,8 @@
 2006-08-06  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkfontbutton.c (gtk_font_button_update_font_info): 
+       Add a missing initialization.  (#348787, Leonardo Boshell)
+       
        * configure.in: Use $PKG_CONFIG consistently.  (#348740,
        Jeremy LainĂ©)
        
index 8d9e79bd7dc121e6a16bb141420f2c59ad8fc305..530ffdcea89698497432205a8504194fa1a8213f 100644 (file)
@@ -853,6 +853,7 @@ gtk_font_button_update_font_info (GtkFontButton *font_button)
       gint n_families, n_faces, i;
 
       n_families = 0;
+      families = NULL;
       pango_context_list_families (gtk_widget_get_pango_context (GTK_WIDGET (font_button)),
                                    &families, &n_families);
       n_faces = 0;