~3v1n0/unity/scale-window-cast-protection

« back to all changes in this revision

Viewing changes to launcher/DeviceNotificationDisplayImp.cpp

Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
namespace launcher
33
33
{
34
34
 
 
35
namespace
 
36
{
 
37
const unsigned icon_size = 48;
 
38
}
 
39
 
35
40
//
36
41
// Start private implementation
37
42
//
40
45
public:
41
46
  void Show(std::string const& icon_name, std::string const& volume_name)
42
47
  {
43
 
    int icon_size = 48;
44
48
    IconLoader::GetDefault().LoadFromGIconString(icon_name, -1, icon_size,
45
49
                                                 sigc::bind(sigc::mem_fun(this, &Impl::ShowNotificationWhenIconIsReady), volume_name));
46
50
  }