[Xfce4-commits] <xfce4-sensors-plugin:master> try replacing #elseif with #elif because the former does no longer seem to be supported on some compilers

Fabian Nowak noreply at xfce.org
Tue May 10 11:26:01 CEST 2011


Updating branch refs/heads/master
         to d3e83a4991876bcfadf90e8c781f0bb82c30230d (commit)
       from 4b280a23c2a26a77f616efef86ce9784ab513d23 (commit)

commit d3e83a4991876bcfadf90e8c781f0bb82c30230d
Author: Fabian Nowak <nowak at kit.edu>
Date:   Tue May 10 11:24:31 2011 +0200

    try replacing #elseif with #elif because the former does no longer seem to be supported on some compilers

 lib/hddtemp.c           |    2 +-
 lib/sensors-interface.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/hddtemp.c b/lib/hddtemp.c
index ba70ab4..052f943 100644
--- a/lib/hddtemp.c
+++ b/lib/hddtemp.c
@@ -117,7 +117,7 @@ void quick_message_notify (gchar *message)
 
 #ifdef HAVE_LIBNOTIFY7
     nn = notify_notification_new (summary, body, icon);
-#elseif HAVE_LIBNOTIFY4
+#elif HAVE_LIBNOTIFY4
     nn = notify_notification_new (summary, body, icon, NULL);
 #endif
     /* FIXME: Use channels or propagate private object or use static global variable */
diff --git a/lib/sensors-interface.c b/lib/sensors-interface.c
index 1485e34..3ae927c 100644
--- a/lib/sensors-interface.c
+++ b/lib/sensors-interface.c
@@ -108,7 +108,7 @@ fill_gtkTreeStore (GtkTreeStore *model, t_chip *chip, t_tempscale scale, t_senso
 
 #ifdef HAVE_LIBNOTIFY7
                 nn = notify_notification_new (summary, body, icon);
-#elseif HAVE_LIBNOTIFY4
+#elif HAVE_LIBNOTIFY4
                 nn = notify_notification_new (summary, body, icon, NULL);
 #endif
                 notify_notification_show(nn, &error);



More information about the Xfce4-commits mailing list