Libnotify > 0.4 does not have 'notify_notification_new_with_status_icon' function

Bug #730594 reported by dairinin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LinuxDC++
Fix Released
Medium
Steven Sheehy

Bug Description

Consider checking libnotify version and if it's > 0.4, then use 'notify_notification_new(title.c_str(), body.c_str(), gtk_status_icon_get_icon_name(statusIcon));' instead of 'notification = notify_notification_new_with_status_icon(title.c_str(), body.c_str(), g_get_prgname(), statusIcon);' on line 482 of 'linux/mainwindow.cc'

Tags: build ui

Related branches

Revision history for this message
dairinin (nowhere-hakkenden) wrote :

Sorry, of course this is in 'linux/mainwindow.cc' file

description: updated
Revision history for this message
Steven Sheehy (steven-sheehy) wrote :

It looks like the API breakage actually occurred in 0.7. Great, so more #ifdef hacks...

Changed in linuxdcpp:
importance: Undecided → Medium
status: New → Confirmed
Changed in linuxdcpp:
assignee: nobody → Steven Sheehy (steven-sheehy)
milestone: none → 1.1.0
Changed in linuxdcpp:
status: Confirmed → Fix Committed
tags: added: build ui
Changed in linuxdcpp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.