[gnome-power-manager] trivial: gtk_window_set_application() takes a GtkApplication, not a GApplication
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] trivial: gtk_window_set_application() takes a GtkApplication, not a GApplication
- Date: Tue, 26 Oct 2010 14:57:22 +0000 (UTC)
commit 8f84b9e892475e10295119c3ed5fe12958a60b27
Author: Richard Hughes <richard hughsie com>
Date: Tue Oct 26 16:57:20 2010 +0100
trivial: gtk_window_set_application() takes a GtkApplication, not a GApplication
src/gpm-statistics.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c
index 1a41cc2..3e5dbad 100644
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -1611,7 +1611,7 @@ gpm_stats_startup_cb (GApplication *application,
window = GTK_WINDOW (gtk_builder_get_object (builder, "dialog_stats"));
gtk_window_set_application (window, GTK_APPLICATION (application));
gtk_window_set_default_size (window, 800, 500);
- gtk_window_set_application (window, application);
+ gtk_window_set_application (window, GTK_APPLICATION (application));
gtk_window_set_default_icon_name (GPM_STOCK_APP_ICON);
/* Get the main window quit */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]