--- np2/x11/gtk2/dialog_about.c 2004/07/15 14:24:33 1.2 +++ np2/x11/gtk2/dialog_about.c 2007/01/10 15:58:43 1.4 @@ -1,4 +1,4 @@ -/* $Id: dialog_about.c,v 1.2 2004/07/15 14:24:33 monaka Exp $ */ +/* $Id: dialog_about.c,v 1.4 2007/01/10 15:58:43 monaka Exp $ */ /* * Copyright (c) 2002-2003 NONAKA Kimihiro @@ -12,8 +12,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -82,8 +80,8 @@ create_about_dialog(void) if (neko_pixmap == NULL) g_error("Couldn't create replacement pixmap."); neko_image = gtk_image_new_from_pixmap(neko_pixmap, mask); - gdk_pixmap_unref(neko_pixmap); - gdk_bitmap_unref(mask); + g_object_unref(neko_pixmap); + g_object_unref(mask); gtk_widget_show(neko_image); gtk_box_pack_start(GTK_BOX(main_widget), neko_image, FALSE, FALSE, 10);