~ubuntu-branches/ubuntu/hardy/pidgin/hardy

« back to all changes in this revision

Viewing changes to libpurple/protocols/msn/object.c

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2007-12-21 02:48:06 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071221024806-pd44a5k9tiyh12mp
Tags: 1:2.3.1-2ubuntu1
* Sync with Debian, remaining Ubuntu changes; (LP: #177811)
  - Set Maintainer to Ubuntu Core Developers.
  - Add build-deps on liblaunchpad-integration-dev, intltool,
    libnm-glib-dev (for --enable-nm) (Ubuntu #112720).
  - Drop build-deps on libsilc-1.1-2-dev | libsilc-dev (>= 1.1.1) as 
    this library is in universe.
  - Drop the libpurple0 recommends on libpurple-bin.
  - Add a gaim transitionnal package for upgrades.
  - Ship compatibility symlinks via debian/gaim.links.
  - Pass --enable-nm to configure to enable NetworkManager support.
  - Pass --disable-silc to configure to disable silc support even if 
    it's installed in the build environment.
  - Add X-Ubuntu-Gettext-Domain to the desktop file and update the
    translation templates in common-install-impl::.
   - Update debian/prefs.xml to set the notify plugin prefs
    /plugins/gtk/X11/notify/* and set /pidgin/plugins/loaded to load 
    the notify plugin; Ubuntu: #13389.
  - Add LPI integration patch, 02_lpi.
  - Add patch 04_let_crasher_for_apport to stop catching the SIGSEGV signal
    and let apport handle it.
  - Add patch 05_default_to_irc_ubuntu_com to set the default IRC 
    server to irc.ubuntu.com.
  - Add autoconf patch, 70_autoconf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
{
155
155
        g_return_if_fail(obj != NULL);
156
156
 
157
 
        if (obj->creator != NULL)
158
 
                g_free(obj->creator);
159
 
 
160
 
        obj->creator = (creator == NULL ? NULL : g_strdup(creator));
 
157
        g_free(obj->creator);
 
158
        obj->creator = g_strdup(creator);
161
159
}
162
160
 
163
161
void
181
179
{
182
180
        g_return_if_fail(obj != NULL);
183
181
 
184
 
        if (obj->location != NULL)
185
 
                g_free(obj->location);
186
 
 
187
 
        obj->location = (location == NULL ? NULL : g_strdup(location));
 
182
        g_free(obj->location);
 
183
        obj->location = g_strdup(location);
188
184
}
189
185
 
190
186
void
192
188
{
193
189
        g_return_if_fail(obj != NULL);
194
190
 
195
 
        if (obj->friendly != NULL)
196
 
                g_free(obj->friendly);
197
 
 
198
 
        obj->friendly = (friendly == NULL ? NULL : g_strdup(friendly));
 
191
        g_free(obj->friendly);
 
192
        obj->friendly = g_strdup(friendly);
199
193
}
200
194
 
201
195
void
203
197
{
204
198
        g_return_if_fail(obj != NULL);
205
199
 
206
 
        if (obj->sha1d != NULL)
207
 
                g_free(obj->sha1d);
208
 
 
209
 
        obj->sha1d = (sha1d == NULL ? NULL : g_strdup(sha1d));
 
200
        g_free(obj->sha1d);
 
201
        obj->sha1d = g_strdup(sha1d);
210
202
}
211
203
 
212
204
void
214
206
{
215
207
        g_return_if_fail(obj != NULL);
216
208
 
217
 
        if (obj->sha1c != NULL)
218
 
                g_free(obj->sha1c);
219
 
 
220
 
        obj->sha1c = (sha1c == NULL ? NULL : g_strdup(sha1c));
 
209
        g_free(obj->sha1c);
 
210
        obj->sha1c = g_strdup(sha1c);
221
211
}
222
212
 
223
213
const char *