The problem is that it shouldn't be using gtk_window_get_size() this way. It's not a very reliable way to get the size, especially the it's being used here since the mainloop hasn't even been hit yet and the window doesn't exist yet.
The most reliable way to do this will be to get the size from the first configure event. I'll post a new copy of example.c that works correctly. ** Attachment added: "fixed-example.c" http://launchpadlibrarian.net/25850916/fixed-example.c -- Text is cut off in popup indicating safe to remove media https://bugs.launchpad.net/bugs/349948 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs