user110143
user110143

Reputation:

GTK+ GTkStatusIcon not working in Win32

I cannot get GTkStatusIcon working in Windows and I get no errors. And I make a call to both gtk_status_icon_set_from_file and gtk_status_icon_new_from_file. Does anyone have any idea what could be causing this? I tried with .ico files and .png and still nothing...

Upvotes: 0

Views: 222

Answers (1)

Isaiah
Isaiah

Reputation: 4309

Do you declare the GtkStatusIcon to be static like this:
static GtkStatusIcon *status_icon = NULL;?
Follow this tutorial and see if it works then.

Upvotes: 1

Related Questions