[gnome-software] trivial: Rename a variable
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Rename a variable
- Date: Mon, 11 Aug 2014 16:34:12 +0000 (UTC)
commit 5be4cebdb70a592fe2562898d23ac34700c0196b
Author: Kalev Lember <kalevlember gmail com>
Date: Mon Aug 11 18:31:21 2014 +0200
trivial: Rename a variable
src/gs-shell-details.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 5f9f3b5..362e9af 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -511,21 +511,21 @@ gs_shell_details_refresh_all (GsShellDetails *shell_details)
GdkPixbuf *pixbuf = NULL;
GList *addons, *l;
GsShellDetailsPrivate *priv = shell_details->priv;
- GtkWidget *widget2;
+ GtkWidget *widget;
const gchar *tmp;
gchar *size;
guint64 updated;
/* change widgets */
tmp = gs_app_get_name (priv->app);
- widget2 = GTK_WIDGET (gtk_builder_get_object (priv->builder, "application_details_header"));
+ widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "application_details_header"));
if (tmp != NULL && tmp[0] != '\0') {
gtk_label_set_label (GTK_LABEL (priv->application_details_title), tmp);
- gtk_label_set_label (GTK_LABEL (widget2), tmp);
+ gtk_label_set_label (GTK_LABEL (widget), tmp);
gtk_widget_set_visible (priv->application_details_title, TRUE);
} else {
gtk_widget_set_visible (priv->application_details_title, FALSE);
- gtk_label_set_label (GTK_LABEL (widget2), "");
+ gtk_label_set_label (GTK_LABEL (widget), "");
}
tmp = gs_app_get_summary (priv->app);
if (tmp != NULL && tmp[0] != '\0') {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]