Mercurial > pidgin
annotate pixmaps/Makefile.mingw @ 13419:3e9c865abd3f
[gaim-migrate @ 15794]
Resolve CID 22:
Event assign_zero: Variable "prpl_info" assigned value 0.
3764 GaimPluginProtocolInfo *prpl_info = NULL;
3795 if (gc != NULL)
3796 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);
Event var_deref_op: Variable "prpl_info" tracked as NULL was dereferenced.
3798 if (prpl_info->options & OPT_PROTO_CHAT_TOPIC)
Basically, if gc == NULL, then prpl_info == NULL, so this crashes.
Let's be safe and use a g_return_if_fail(). I also added one to the write_conv stuff I changed in my last commit. We seem to do that in a lot of places, so I guess I'll p
lay it safe.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 07 Mar 2006 02:09:05 +0000 |
parents | bc494c4a3991 |
children |
rev | line source |
---|---|
4318
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
1 # |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
2 # Makefile.mingw |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
3 # |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
4 # Description: Makefile for win32 (mingw) version of Gaim pixmaps |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
5 # |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
6 |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
7 datadir = ../win32-install-dir |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
8 |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
9 include ./Makefile.am |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
10 |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
11 install: |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
12 if test '$(SUBDIRS)'; then \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
13 list='$(SUBDIRS)'; for subdir in $$list; do \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
14 $(MAKE) -C $$subdir -f Makefile.mingw install; \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
15 done; \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
16 fi; |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
17 if test '$(gaimbuttonpix_DATA)'; then \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
18 mkdir -p $(gaimbuttonpixdir); \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
19 cp $(gaimbuttonpix_DATA) $(gaimbuttonpixdir); \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
20 fi; |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
21 if test '$(gaimdialogpix_DATA)'; then \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
22 mkdir -p $(gaimdialogpixdir); \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
23 cp $(gaimdialogpix_DATA) $(gaimdialogpixdir); \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
24 fi; |
5031
bc494c4a3991
[gaim-migrate @ 5368]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4318
diff
changeset
|
25 if test '$(gaimiconpix_DATA)'; then \ |
bc494c4a3991
[gaim-migrate @ 5368]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4318
diff
changeset
|
26 mkdir -p $(gaimiconpixdir); \ |
bc494c4a3991
[gaim-migrate @ 5368]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4318
diff
changeset
|
27 cp $(gaimiconpix_DATA) $(gaimiconpixdir); \ |
4318
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
28 fi; |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
29 if test '$(gaimdistpix_DATA)'; then \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
30 mkdir -p $(gaimdistpixdir); \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
31 cp $(gaimdistpix_DATA) $(gaimdistpixdir); \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
32 fi; |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
33 if test '$(distpixmap_DATA)'; then \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
34 mkdir -p $(distpixmapdir); \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
35 cp $(distpixmap_DATA) $(distpixmapdir); \ |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
36 fi; |
5f0385678315
[gaim-migrate @ 4573]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
37 |