[gnome-software/wip/installed_updates: 11/17] update dialog: Rename a function
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/installed_updates: 11/17] update dialog: Rename a function
- Date: Sun, 11 May 2014 10:43:02 +0000 (UTC)
commit 1016f4326d5b647e1b911c3eecf4149ec4e0b262
Author: Kalev Lember <kalevlember gmail com>
Date: Tue May 6 15:07:14 2014 +0200
update dialog: Rename a function
src/gs-shell-updates.c | 2 +-
src/gs-update-dialog.c | 2 +-
src/gs-update-dialog.h | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gs-shell-updates.c b/src/gs-shell-updates.c
index afcb3a4..94fa2f6 100644
--- a/src/gs-shell-updates.c
+++ b/src/gs-shell-updates.c
@@ -548,7 +548,7 @@ show_update_details (GsApp *app, GsShellUpdates *shell_updates)
GtkWidget *toplevel;
dialog = gs_update_dialog_new ();
- gs_update_dialog_set_app (GS_UPDATE_DIALOG (dialog), app);
+ gs_update_dialog_show_update_details (GS_UPDATE_DIALOG (dialog), app);
toplevel = GTK_WIDGET (gtk_builder_get_object (priv->builder, "window_software"));
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (toplevel));
diff --git a/src/gs-update-dialog.c b/src/gs-update-dialog.c
index 1150b51..887d834 100644
--- a/src/gs-update-dialog.c
+++ b/src/gs-update-dialog.c
@@ -139,7 +139,7 @@ row_activated_cb (GtkListBox *list_box,
}
void
-gs_update_dialog_set_app (GsUpdateDialog *dialog, GsApp *app)
+gs_update_dialog_show_update_details (GsUpdateDialog *dialog, GsApp *app)
{
GsUpdateDialogPrivate *priv = gs_update_dialog_get_instance_private (dialog);
GsApp *app_related;
diff --git a/src/gs-update-dialog.h b/src/gs-update-dialog.h
index 0a64c80..9009867 100644
--- a/src/gs-update-dialog.h
+++ b/src/gs-update-dialog.h
@@ -49,10 +49,10 @@ struct _GsUpdateDialogClass
GtkDialogClass parent_class;
};
-GType gs_update_dialog_get_type (void);
-GtkWidget *gs_update_dialog_new (void);
-void gs_update_dialog_set_app (GsUpdateDialog *dialog,
- GsApp *app);
+GType gs_update_dialog_get_type (void);
+GtkWidget *gs_update_dialog_new (void);
+void gs_update_dialog_show_update_details (GsUpdateDialog *dialog,
+ GsApp *app);
#endif /* GS_UPDATE_DIALOG_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]