sinek/src about.c,1.17,1.18 Makefile.am,1.14,1.15
[email protected] Sun, 23 Feb 2003 01:30:38 -0800
| Newsgroups | gmane.comp.video.sinek.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/sinek/sinek/src
In directory sc8-pr-cvs1:/tmp/cvs-serv14402/src
Modified Files:
about.c Makefile.am
Log Message:
use .png instead of .xpm
Index: about.c
===================================================================
RCS file: /cvsroot/sinek/sinek/src/about.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- about.c 17 Feb 2003 08:26:00 -0000 1.17
+++ about.c 23 Feb 2003 09:30:36 -0000 1.18
@@ -9,15 +9,11 @@
*/
#include "common.h"
-
-#include "sinek.xpm"
#include "gtkxine.h"
-
int about_build(GtkWidget **win)
{
GtkWidget *w, *vb, *vb2, *vb3, *lab, *hb, *b, *logo;
- GdkPixbuf *pb;
char *tmp;
int major, minor, sub;
@@ -45,8 +41,7 @@
gtk_widget_show(hb);
gtk_box_pack_start(GTK_BOX(vb2), hb, FALSE, FALSE, 0);
- pb = gdk_pixbuf_new_from_xpm_data((const char **)sinek_xpm);
- logo = gtk_image_new_from_pixbuf(pb);
+ logo = gtk_image_new_from_file(DATADIR "/sinek.png");
gtk_widget_show(logo);
gtk_box_pack_start(GTK_BOX(hb), logo, FALSE, FALSE, 0);
Index: Makefile.am
===================================================================
RCS file: /cvsroot/sinek/sinek/src/Makefile.am,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Makefile.am 17 Feb 2003 08:32:37 -0000 1.14
+++ Makefile.am 23 Feb 2003 09:30:36 -0000 1.15
@@ -3,7 +3,7 @@
##
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/pixmaps
-AM_CFLAGS = @CFLAGS@ $(XINE_CFLAGS) $(GTK_CFLAGS) $(GUILE_CFLAGS) $(INTLDIR)
+AM_CFLAGS = @CFLAGS@ -DDATADIR=\"@datadir@/sinek\" $(XINE_CFLAGS) $(GTK_CFLAGS) $(GUILE_CFLAGS) $(INTLDIR)
if DO_GUILE
guile_c = guile.c
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge