~ubuntu-branches/ubuntu/trusty/pcmanfm/trusty-proposed

« back to all changes in this revision

Viewing changes to src/compat/glib-utils.h

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Lee
  • Date: 2008-09-26 10:19:20 UTC
  • mfrom: (4.1.5 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080926101920-cfldybkmwgwrtv9u
Tags: 0.5-3
* Correct spellings,  03_correct_spelling.dpatch (Closes:498794) 
* Code in some files are taken from other projects, added these
  informations into copyright file. (Closes:499678)
* Applied 04_defaut_terminal.dpatch to support x-terminal-emulator
  alternative. (Closes:497494) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
* C++ Interface: glib-mem
 
3
*
 
4
* Description: Compatibility macros for older versions of glib
 
5
*
 
6
*
 
7
* Author: Hong Jen Yee (PCMan) <pcman.tw (AT) gmail.com>, (C) 2006
 
8
*
 
9
* Copyright: See COPYING file that comes with this distribution
 
10
*
 
11
*/
 
12
 
 
13
#ifndef _GLIB_UTILS_H_
 
14
#define _GLIB_UTILS_H_
 
15
 
 
16
#include <glib.h>
 
17
 
 
18
/* older versions of glib don't provde these API */
 
19
 
 
20
#if ! GLIB_CHECK_VERSION(2, 8, 0)
 
21
int g_mkdir_with_parents(const gchar *pathname, int mode);
 
22
#endif
 
23
 
 
24
#if ! GLIB_CHECK_VERSION(2, 16, 0)
 
25
int g_strcmp0(const char *str1, const char *str2);
 
26
#endif
 
27
 
 
28
#endif
 
29