[gnome-control-center] keybindings: Fix a few more compilation warnings



commit d1e7dad2df241c6a2c9800f78c9af97ea8292ab8
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Sep 20 18:19:19 2010 +0100

    keybindings: Fix a few more compilation warnings

 panels/keybindings/eggcellrendererkeys.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/panels/keybindings/eggcellrendererkeys.c b/panels/keybindings/eggcellrendererkeys.c
index c39db3b..9c82781 100644
--- a/panels/keybindings/eggcellrendererkeys.c
+++ b/panels/keybindings/eggcellrendererkeys.c
@@ -77,7 +77,8 @@ egg_cell_renderer_keys_get_type (void)
 	NULL,		/* class_data */
         sizeof (EggCellRendererKeys),
 	0,              /* n_preallocs */
-        (GInstanceInitFunc) egg_cell_renderer_keys_init
+        (GInstanceInitFunc) egg_cell_renderer_keys_init,
+        NULL,          /* value_table */
       };
 
       cell_keys_type = g_type_register_static (GTK_TYPE_CELL_RENDERER_TEXT, "EggCellRendererKeys", &cell_keys_info, 0);
@@ -530,6 +531,7 @@ pointless_eventbox_subclass_get_type (void)
         sizeof (GtkEventBox),
 	0,              /* n_preallocs */
         (GInstanceInitFunc) NULL,
+        NULL
       };
 
       static const GInterfaceInfo cell_editable_info = {
@@ -559,7 +561,7 @@ egg_cell_renderer_keys_start_editing (GtkCellRenderer      *cell,
   EggCellRendererKeys *keys;
   GtkWidget *label;
   GtkWidget *eventbox;
-  GValue celltext_editable = {0};
+  GValue celltext_editable = {0, };
 
   celltext = GTK_CELL_RENDERER_TEXT (cell);
   keys = EGG_CELL_RENDERER_KEYS (cell);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]