[gnome-calendar] app: use gtk_widget_show() instead of show_all()
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] app: use gtk_widget_show() instead of show_all()
- Date: Mon, 16 Feb 2015 14:32:21 +0000 (UTC)
commit bd2b6356b1943bf8a6e1abe1100c04e0d9c9851d
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Sun Feb 15 02:16:18 2015 -0500
app: use gtk_widget_show() instead of show_all()
Remove comment
src/gcal-application.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gcal-application.c b/src/gcal-application.c
index 416f998..677d678 100644
--- a/src/gcal-application.c
+++ b/src/gcal-application.c
@@ -284,7 +284,6 @@ gcal_application_activate (GApplication *application)
if (priv->initial_date == NULL)
{
priv->initial_date = g_new0 (icaltimetype, 1);
- /* FIXME: here read the initial date from somewehere */
*(priv->initial_date) = icaltime_current_time_with_zone (gcal_manager_get_system_timezone
(priv->manager));
*(priv->initial_date) = icaltime_set_timezone (priv->initial_date,
gcal_manager_get_system_timezone (priv->manager));
@@ -296,8 +295,7 @@ gcal_application_activate (GApplication *application)
g_settings_bind (priv->settings, "active-view", priv->window, "active-view",
G_SETTINGS_BIND_SET | G_SETTINGS_BIND_GET);
- /* FIXME: remove me in favor of gtk_widget_show() */
- gtk_widget_show_all (priv->window);
+ gtk_widget_show (priv->window);
}
g_clear_pointer (&(priv->initial_date), g_free);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]