[ekiga] Remove unused item in enum
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Remove unused item in enum
- Date: Tue, 24 Apr 2012 11:19:08 +0000 (UTC)
commit 859d9c3d3d13af3b497a5964cb3c33c53a73aad8
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Tue Apr 24 13:18:39 2012 +0200
Remove unused item in enum
lib/engine/components/libnotify/libnotify-main.cpp | 3 ---
lib/engine/notification/notification-core.h | 2 +-
2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/lib/engine/components/libnotify/libnotify-main.cpp b/lib/engine/components/libnotify/libnotify-main.cpp
index a0499e4..21129aa 100644
--- a/lib/engine/components/libnotify/libnotify-main.cpp
+++ b/lib/engine/components/libnotify/libnotify-main.cpp
@@ -133,9 +133,6 @@ on_notif_closed (NotifyNotification* /*notif*/,
void
LibNotify::on_notification_added (boost::shared_ptr<Ekiga::Notification> notification)
{
- if (notification->get_level () == Ekiga::Notification::Info)
- return;
-
NotifyNotification* notif = notify_notification_new (notification->get_title ().c_str (),
notification->get_body ().c_str (),
"Ekiga"
diff --git a/lib/engine/notification/notification-core.h b/lib/engine/notification/notification-core.h
index 162168c..05a1db5 100644
--- a/lib/engine/notification/notification-core.h
+++ b/lib/engine/notification/notification-core.h
@@ -50,7 +50,7 @@ namespace Ekiga
{
public:
- typedef enum { Info, Warning, Error } NotificationLevel;
+ typedef enum { Warning, Error } NotificationLevel;
Notification (NotificationLevel level_,
const std::string title_,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]