projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add padding for future virtual methods in ModestAccountProtocol and ModestEasysetupWi...
[modest]
/
src
/
modest-dimming-rules-group.c
diff --git
a/src/modest-dimming-rules-group.c
b/src/modest-dimming-rules-group.c
index
14ea232
..
4b3fd27
100644
(file)
--- a/
src/modest-dimming-rules-group.c
+++ b/
src/modest-dimming-rules-group.c
@@
-128,6
+128,9
@@
modest_dimming_rules_group_finalize (GObject *obj)
priv = MODEST_DIMMING_RULES_GROUP_GET_PRIVATE(obj);
priv = MODEST_DIMMING_RULES_GROUP_GET_PRIVATE(obj);
+ if (priv->window)
+ g_object_weak_unref (G_OBJECT (priv->window), on_window_destroy, obj);
+
if (priv->name != NULL)
g_free(priv->name);
if (priv->name != NULL)
g_free(priv->name);
@@
-354,10
+357,13
@@
_insensitive_press_callback (GtkWidget *widget, gpointer user_data)
notification = modest_dimming_rule_get_notification (rule);
if (notification == NULL)
goto frees;
notification = modest_dimming_rule_get_notification (rule);
if (notification == NULL)
goto frees;
-
+
+ /* Notifications for dimmed items are not shown in Hildon2 */
+#ifndef MODEST_TOOLKIT_HILDON2
/* Show notification banner */
/* Show notification banner */
- modest_platform_information_banner (NULL, NULL, notification);
-
+ modest_platform_information_banner (NULL, NULL, notification);
+#endif
+
/* Free */
frees:
if (group != NULL)
/* Free */
frees:
if (group != NULL)