summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/panels/errors.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/panels/errors.c b/src/gui/panels/errors.c
index 87c0a02..a529314 100644
--- a/src/gui/panels/errors.c
+++ b/src/gui/panels/errors.c
@@ -125,7 +125,7 @@ static void g_error_panel_class_init(GErrorPanelClass *);
static void g_error_panel_init(GErrorPanel *);
/* Procède à l'initialisation de l'interface de mise à jour. */
-static void g_error_panel_interface_init(GUpdatablePanelInterface *);
+static void g_error_panel_updatable_interface_init(GUpdatablePanelInterface *);
/* Supprime toutes les références externes. */
static void g_error_panel_dispose(GErrorPanel *);
@@ -189,7 +189,7 @@ static void g_error_panel_conclude(GErrorPanel *, unsigned int, error_update_dat
/* Indique le type défini pour un panneau d'affichage des erreurs. */
G_DEFINE_TYPE_WITH_CODE(GErrorPanel, g_error_panel, G_TYPE_PANEL_ITEM,
- G_IMPLEMENT_INTERFACE(G_TYPE_UPDATABLE_PANEL, g_error_panel_interface_init));
+ G_IMPLEMENT_INTERFACE(G_TYPE_UPDATABLE_PANEL, g_error_panel_updatable_interface_init));
/******************************************************************************
@@ -354,7 +354,7 @@ static void g_error_panel_init(GErrorPanel *panel)
* *
******************************************************************************/
-static void g_error_panel_interface_init(GUpdatablePanelInterface *iface)
+static void g_error_panel_updatable_interface_init(GUpdatablePanelInterface *iface)
{
iface->setup = (setup_updatable_cb)g_error_panel_setup;
iface->get_group = (get_updatable_group_cb)g_panel_item_get_group;
@@ -704,8 +704,6 @@ static void update_error_panel(const GErrorPanel *panel, GtkStatusStack *status,
ETC_ADDR, &e->addr,
-1);
- data->count++;
-
if (state)
data->kept++;