|
|
| version 1.2, 2004/07/15 14:24:33 | version 1.4, 2007/01/10 15:58:43 |
|---|---|
| Line 12 | Line 12 |
| * 2. Redistributions in binary form must reproduce the above copyright | * 2. Redistributions in binary form must reproduce the above copyright |
| * notice, this list of conditions and the following disclaimer in the | * notice, this list of conditions and the following disclaimer in the |
| * documentation and/or other materials provided with the distribution. | * 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 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| Line 82 create_about_dialog(void) | Line 80 create_about_dialog(void) |
| if (neko_pixmap == NULL) | if (neko_pixmap == NULL) |
| g_error("Couldn't create replacement pixmap."); | g_error("Couldn't create replacement pixmap."); |
| neko_image = gtk_image_new_from_pixmap(neko_pixmap, mask); | neko_image = gtk_image_new_from_pixmap(neko_pixmap, mask); |
| gdk_pixmap_unref(neko_pixmap); | g_object_unref(neko_pixmap); |
| gdk_bitmap_unref(mask); | g_object_unref(mask); |
| gtk_widget_show(neko_image); | gtk_widget_show(neko_image); |
| gtk_box_pack_start(GTK_BOX(main_widget), neko_image, FALSE, FALSE, 10); | gtk_box_pack_start(GTK_BOX(main_widget), neko_image, FALSE, FALSE, 10); |