[gnome-initial-setup] Remove the other half of the summary callbacks
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] Remove the other half of the summary callbacks
- Date: Tue, 21 Aug 2012 19:36:51 +0000 (UTC)
commit 8216a1c04568c14dc279098a4c8fe703c323d1fc
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Aug 21 15:02:23 2012 -0400
Remove the other half of the summary callbacks
Whoops, forgot this
gnome-initial-setup/gnome-initial-setup.c | 23 --------------------
.../pages/summary/gis-summary-page.c | 1 -
2 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/gnome-initial-setup/gnome-initial-setup.c b/gnome-initial-setup/gnome-initial-setup.c
index cb8f226..a0c8802 100644
--- a/gnome-initial-setup/gnome-initial-setup.c
+++ b/gnome-initial-setup/gnome-initial-setup.c
@@ -36,30 +36,10 @@ struct _SetupData {
GKeyFile *overrides;
GisAssistant *assistant;
- GSList *finals;
-
ActUser *user_account;
const gchar *user_password;
};
-typedef struct _AsyncClosure AsyncClosure;
-
-struct _AsyncClosure {
- GFunc callback;
- gpointer user_data;
-};
-
-static void
-run_finals (SetupData *setup)
-{
- GSList *l;
-
- for (l = setup->finals; l != NULL; l = l->next) {
- AsyncClosure *closure = l->data;
- closure->callback (setup, closure->user_data);
- }
-}
-
static void
title_changed_cb (GisAssistant *assistant,
GParamSpec *gparam,
@@ -74,9 +54,6 @@ prepare_cb (GisAssistant *assi, GtkWidget *page, SetupData *setup)
g_debug ("Preparing page %s", gtk_widget_get_name (page));
title_changed_cb (assi, NULL, setup);
-
- if (g_object_get_data (G_OBJECT (page), "gis-summary"))
- run_finals (setup);
}
static void
diff --git a/gnome-initial-setup/pages/summary/gis-summary-page.c b/gnome-initial-setup/pages/summary/gis-summary-page.c
index 0adaa4e..54ff81a 100644
--- a/gnome-initial-setup/pages/summary/gis-summary-page.c
+++ b/gnome-initial-setup/pages/summary/gis-summary-page.c
@@ -351,7 +351,6 @@ gis_prepare_summary_page (SetupData *setup)
g_signal_connect (WID("summary-start-button"), "clicked", G_CALLBACK (byebye_cb), data);
g_signal_connect (WID("summary-tour-button"), "clicked", G_CALLBACK (tour_cb), data);
- g_object_set_data (OBJ (GObject *, "summary-page"), "gis-summary", GUINT_TO_POINTER (TRUE));
gis_assistant_add_page (assistant, WID ("summary-page"));
gis_assistant_set_page_title (assistant, WID ("summary-page"), _("Thank You"));
gis_assistant_set_page_complete (assistant, WID ("summary-page"), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]