Mercurial > pidgin
comparison plugins/docklet/eggtrayicon.c @ 11291:57fccea36e36
[gaim-migrate @ 13491]
Gaim should pretty much never call g_assert. If any of these changes
are in your code, you should try to take a look at the change and
make sure Gaim won't crash after the function g_return_if_fails.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 18 Aug 2005 03:14:29 +0000 |
parents | 777e42930797 |
children | e856f985a0b9 |
comparison
equal
deleted
inserted
replaced
11290:b284c703d398 | 11291:57fccea36e36 |
---|---|
157 } prop = { NULL }; | 157 } prop = { NULL }; |
158 gulong nitems; | 158 gulong nitems; |
159 gulong bytes_after; | 159 gulong bytes_after; |
160 int error, result; | 160 int error, result; |
161 | 161 |
162 g_assert (icon->manager_window != None); | 162 g_return_if_fail(icon->manager_window != None); |
163 | 163 |
164 #if GTK_CHECK_VERSION(2,1,0) | 164 #if GTK_CHECK_VERSION(2,1,0) |
165 xdisplay = GDK_DISPLAY_XDISPLAY (gtk_widget_get_display (GTK_WIDGET (icon))); | 165 xdisplay = GDK_DISPLAY_XDISPLAY (gtk_widget_get_display (GTK_WIDGET (icon))); |
166 #else | 166 #else |
167 xdisplay = gdk_display; | 167 xdisplay = gdk_display; |