I attach a stack trace.

This is the program I used:

using System;

using Wnck;

namespace Analyzer
{
        class MainClass
        {
                public static void Main (string[] args)
                {
                        //Console.WriteLine ("Hello World!");
                        Wnck.Screen scr = Wnck.Screen.Default;
                }
        }
}

See the attached file for stack trace.

Please note that for this simple program:

using System;

using Wnck;

namespace Analyzer
{
        class MainClass
        {
                public static void Main (string[] args)
                {
                        //Console.WriteLine ("Hello World!");
                        Wnck.Screen scr = Wnck.Screen.Get(0);
                }
        }
}

I get the warning:

(/home/elazar/Projects/Analyzer/Analyzer/bin/Debug/Analyzer.exe:2456):
Wnck-CRITICAL **: wnck_screen_get: assertion `gdk_display != NULL'
failed

** Attachment added: "Stack trace"
   http://launchpadlibrarian.net/49670661/stacktrace_wnck

-- 
wnck-sharp segfaults when accessing Wnck.Screen.Default
https://bugs.launchpad.net/bugs/206264
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to