[gnome-software] trivial: Fix warning about type passed to gtk_widget_destroy
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix warning about type passed to gtk_widget_destroy
- Date: Wed, 10 Feb 2016 20:21:01 +0000 (UTC)
commit e8cfba491445efd6953b229c85622b77b25ece4c
Author: Robert Ancell <robert ancell canonical com>
Date: Thu Feb 11 09:20:49 2016 +1300
trivial: Fix warning about type passed to gtk_widget_destroy
src/gs-review-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-review-dialog.c b/src/gs-review-dialog.c
index 86e8ede..e86f0df 100644
--- a/src/gs-review-dialog.c
+++ b/src/gs-review-dialog.c
@@ -165,7 +165,7 @@ gs_review_row_dispose (GObject *object)
GsReviewDialog *dialog = GS_REVIEW_DIALOG (object);
if (dialog->timer_id > 0)
g_source_remove (dialog->timer_id);
- gtk_widget_destroy (dialog->spell_checker);
+ gtk_widget_destroy (GTK_WIDGET (dialog->spell_checker));
G_OBJECT_CLASS (gs_review_dialog_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]