Deprecation cleanup

Sun Oct 13 16:55:49 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkdnd.c gtk/gtkradiobutton.[ch]: Deprecation cleanup

        * gtk/Makefile.am: Added disable deprecation flags

        * demos/pixbuf-init.c demos/gtk-demo/changedisplay.c: minor clean up
This commit is contained in:
Manish Singh
2002-10-13 23:56:31 +00:00
committed by Manish Singh
parent 37278865e1
commit 5362022622
12 changed files with 299 additions and 216 deletions

View File

@ -551,12 +551,12 @@ destroy_info (ChangeDisplayInfo *info)
GSList *tmp_list;
g_signal_handlers_disconnect_by_func (manager,
(gpointer) display_opened_cb,
display_opened_cb,
info);
for (tmp_list = displays; tmp_list; tmp_list = tmp_list->next)
g_signal_handlers_disconnect_by_func (tmp_list->data,
(gpointer) display_closed_cb,
display_closed_cb,
info);
g_slist_free (tmp_list);

View File

@ -12,16 +12,8 @@ file_exists (const char *filename)
}
void
pixbuf_init ()
pixbuf_init (void)
{
if (file_exists ("../gdk-pixbuf/libpixbufloader-pnm.la"))
putenv ("GDK_PIXBUF_MODULE_FILE=../gdk-pixbuf/gdk-pixbuf.loaders");
}