<refentry id="thunar-vfs-ThunarVfsMimeApplication">
<refmeta>
<refentrytitle>ThunarVfsMimeApplication</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>THUNAR-VFS Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>ThunarVfsMimeApplication</refname><refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>

<synopsis>

#include &lt;thunar-vfs/thunar-vfs.h&gt;


#define     <link linkend="THUNAR-VFS-MIME-APPLICATION-ERROR:CAPS">THUNAR_VFS_MIME_APPLICATION_ERROR</link>
enum        <link linkend="ThunarVfsMimeApplicationError">ThunarVfsMimeApplicationError</link>;
enum        <link linkend="ThunarVfsMimeApplicationFlags">ThunarVfsMimeApplicationFlags</link>;
            <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link>;
<link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link>* <link linkend="thunar-vfs-mime-application-new-from-desktop-id">thunar_vfs_mime_application_new_from_desktop_id</link>
                                            (const <link linkend="gchar">gchar</link> *desktop_id);
<link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link>* <link linkend="thunar-vfs-mime-application-new-from-file">thunar_vfs_mime_application_new_from_file</link>
                                            (const <link linkend="gchar">gchar</link> *path,
                                             const <link linkend="gchar">gchar</link> *desktop_id);
<link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link>* <link linkend="thunar-vfs-mime-application-ref">thunar_vfs_mime_application_ref</link>
                                            (<link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application);
<link linkend="void">void</link>        <link linkend="thunar-vfs-mime-application-unref">thunar_vfs_mime_application_unref</link>
                                            (<link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application);
const <link linkend="gchar">gchar</link>* <link linkend="thunar-vfs-mime-application-get-command">thunar_vfs_mime_application_get_command</link>
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application);
const <link linkend="gchar">gchar</link>* <link linkend="thunar-vfs-mime-application-get-desktop-id">thunar_vfs_mime_application_get_desktop_id</link>
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application);
<link linkend="ThunarVfsMimeApplicationFlags">ThunarVfsMimeApplicationFlags</link> <link linkend="thunar-vfs-mime-application-get-flags">thunar_vfs_mime_application_get_flags</link>
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application);
const <link linkend="gchar">gchar</link>* <link linkend="thunar-vfs-mime-application-get-name">thunar_vfs_mime_application_get_name</link>
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application);
<link linkend="gboolean">gboolean</link>    <link linkend="thunar-vfs-mime-application-exec">thunar_vfs_mime_application_exec</link>
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application,
                                             <link linkend="GdkScreen">GdkScreen</link> *screen,
                                             <link linkend="GList">GList</link> *path_list,
                                             <link linkend="GError">GError</link> **error);
<link linkend="gboolean">gboolean</link>    <link linkend="thunar-vfs-mime-application-exec-with-env">thunar_vfs_mime_application_exec_with_env</link>
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application,
                                             <link linkend="GdkScreen">GdkScreen</link> *screen,
                                             <link linkend="GList">GList</link> *path_list,
                                             <link linkend="gchar">gchar</link> **envp,
                                             <link linkend="GError">GError</link> **error);
const <link linkend="gchar">gchar</link>* <link linkend="thunar-vfs-mime-application-lookup-icon-name">thunar_vfs_mime_application_lookup_icon_name</link>
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application,
                                             <link linkend="GtkIconTheme">GtkIconTheme</link> *icon_theme);
<link linkend="guint">guint</link>       <link linkend="thunar-vfs-mime-application-hash">thunar_vfs_mime_application_hash</link>
                                            (<link linkend="gconstpointer">gconstpointer</link> application);
<link linkend="gboolean">gboolean</link>    <link linkend="thunar-vfs-mime-application-equal">thunar_vfs_mime_application_equal</link>
                                            (<link linkend="gconstpointer">gconstpointer</link> a,
                                             <link linkend="gconstpointer">gconstpointer</link> b);


</synopsis>
</refsynopsisdiv>









<refsect1>
<title>Description</title>
<para>

</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="THUNAR-VFS-MIME-APPLICATION-ERROR:CAPS"/>THUNAR_VFS_MIME_APPLICATION_ERROR</title>
<indexterm><primary>THUNAR_VFS_MIME_APPLICATION_ERROR</primary></indexterm><programlisting>#define THUNAR_VFS_MIME_APPLICATION_ERROR (thunar_vfs_mime_application_error_quark ())
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="ThunarVfsMimeApplicationError"/>enum ThunarVfsMimeApplicationError</title>
<indexterm><primary>ThunarVfsMimeApplicationError</primary></indexterm><programlisting>typedef enum
{
  THUNAR_VFS_MIME_APPLICATION_ERROR_LOCAL_FILES_ONLY,
} ThunarVfsMimeApplicationError;
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="ThunarVfsMimeApplicationFlags"/>enum ThunarVfsMimeApplicationFlags</title>
<indexterm><primary>ThunarVfsMimeApplicationFlags</primary></indexterm><programlisting>typedef enum /*&lt; flags &gt;*/
{
  THUNAR_VFS_MIME_APPLICATION_HIDDEN                  = (1 &lt;&lt; 0L),
  THUNAR_VFS_MIME_APPLICATION_REQUIRES_TERMINAL       = (1 &lt;&lt; 1L),
  THUNAR_VFS_MIME_APPLICATION_SUPPORTS_STARTUP_NOTIFY = (1 &lt;&lt; 2L),
  THUNAR_VFS_MIME_APPLICATION_SUPPORTS_MULTI          = (1 &lt;&lt; 3L),
} ThunarVfsMimeApplicationFlags;
</programlisting>
<para>
Various flags associated with a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link>.</para>
<para>

</para><variablelist role="enum">
<varlistentry>
<term><literal>THUNAR_VFS_MIME_APPLICATION_HIDDEN</literal></term>
<listitem><simpara> the application should not be displayed in the menu system.
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>THUNAR_VFS_MIME_APPLICATION_REQUIRES_TERMINAL</literal></term>
<listitem><simpara> the application must be run in a terminal.
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>THUNAR_VFS_MIME_APPLICATION_SUPPORTS_STARTUP_NOTIFY</literal></term>
<listitem><simpara> the application supports startup notification.
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>THUNAR_VFS_MIME_APPLICATION_SUPPORTS_MULTI</literal></term>
<listitem><simpara> the application supports opening multiple documents at once (<literal>F</literal> or <literal>U</literal>).
</simpara></listitem>
</varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="ThunarVfsMimeApplication"/>ThunarVfsMimeApplication</title>
<indexterm><primary>ThunarVfsMimeApplication</primary></indexterm><programlisting>typedef struct _ThunarVfsMimeApplication ThunarVfsMimeApplication;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="thunar-vfs-mime-application-new-from-desktop-id"/>thunar_vfs_mime_application_new_from_desktop_id ()</title>
<indexterm><primary>thunar_vfs_mime_application_new_from_desktop_id</primary></indexterm><programlisting><link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link>* thunar_vfs_mime_application_new_from_desktop_id
                                            (const <link linkend="gchar">gchar</link> *desktop_id);</programlisting>
<para>
Generates a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link> instance for the application
referenced by <parameter>desktop_id</parameter>. Returns <literal>NULL</literal> if <parameter>desktop_id</parameter> is not valid.
</para>
<para>
The caller is responsible to free the returned instance using
<link linkend="thunar-vfs-mime-application-unref"><function>thunar_vfs_mime_application_unref()</function></link>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>desktop_id</parameter>&nbsp;:</term>
<listitem><simpara> the id of an application's .desktop file.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link> for <parameter>desktop_id</parameter> or <literal>NULL</literal>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="thunar-vfs-mime-application-new-from-file"/>thunar_vfs_mime_application_new_from_file ()</title>
<indexterm><primary>thunar_vfs_mime_application_new_from_file</primary></indexterm><programlisting><link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link>* thunar_vfs_mime_application_new_from_file
                                            (const <link linkend="gchar">gchar</link> *path,
                                             const <link linkend="gchar">gchar</link> *desktop_id);</programlisting>
<para>
Generates a new <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link> for the application
described by <parameter>path</parameter> and <parameter>desktop_id</parameter>.
</para>
<para>
The caller is responsible to free the returned instance using
<link linkend="thunar-vfs-mime-application-unref"><function>thunar_vfs_mime_application_unref()</function></link>.
</para>
<para>
You should really seldomly use this function and always
prefer <link linkend="thunar-vfs-mime-application-new-from-desktop-id"><function>thunar_vfs_mime_application_new_from_desktop_id()</function></link>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>path</parameter>&nbsp;:</term>
<listitem><simpara> the absolute path to the desktop file.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>desktop_id</parameter>&nbsp;:</term>
<listitem><simpara> the desktop-id of the file.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link> for <parameter>desktop_id</parameter>
              or <literal>NULL</literal>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="thunar-vfs-mime-application-ref"/>thunar_vfs_mime_application_ref ()</title>
<indexterm><primary>thunar_vfs_mime_application_ref</primary></indexterm><programlisting><link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link>* thunar_vfs_mime_application_ref
                                            (<link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application);</programlisting>
<para>
Increases the reference count on <parameter>application</parameter> by one
and returns the reference to <parameter>application</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>application</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a reference to <parameter>application</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="thunar-vfs-mime-application-unref"/>thunar_vfs_mime_application_unref ()</title>
<indexterm><primary>thunar_vfs_mime_application_unref</primary></indexterm><programlisting><link linkend="void">void</link>        thunar_vfs_mime_application_unref
                                            (<link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application);</programlisting>
<para>
Decreases the reference count on <parameter>application</parameter> and frees
the <parameter>application</parameter> object once the reference count drops
to zero.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>application</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="thunar-vfs-mime-application-get-command"/>thunar_vfs_mime_application_get_command ()</title>
<indexterm><primary>thunar_vfs_mime_application_get_command</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>* thunar_vfs_mime_application_get_command
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application);</programlisting>
<para>
Returns the command line to run <parameter>application</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>application</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the command to run <parameter>application</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="thunar-vfs-mime-application-get-desktop-id"/>thunar_vfs_mime_application_get_desktop_id ()</title>
<indexterm><primary>thunar_vfs_mime_application_get_desktop_id</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>* thunar_vfs_mime_application_get_desktop_id
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application);</programlisting>
<para>
Returns the desktop-id of <parameter>application</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>application</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the desktop-id of <parameter>application</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="thunar-vfs-mime-application-get-flags"/>thunar_vfs_mime_application_get_flags ()</title>
<indexterm><primary>thunar_vfs_mime_application_get_flags</primary></indexterm><programlisting><link linkend="ThunarVfsMimeApplicationFlags">ThunarVfsMimeApplicationFlags</link> thunar_vfs_mime_application_get_flags
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application);</programlisting>
<para>
Returns the flags for <parameter>application</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>application</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the flags for <parameter>application</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="thunar-vfs-mime-application-get-name"/>thunar_vfs_mime_application_get_name ()</title>
<indexterm><primary>thunar_vfs_mime_application_get_name</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>* thunar_vfs_mime_application_get_name
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application);</programlisting>
<para>
Returns the generic name of <parameter>application</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>application</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the generic name of <parameter>application</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="thunar-vfs-mime-application-exec"/>thunar_vfs_mime_application_exec ()</title>
<indexterm><primary>thunar_vfs_mime_application_exec</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    thunar_vfs_mime_application_exec
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application,
                                             <link linkend="GdkScreen">GdkScreen</link> *screen,
                                             <link linkend="GList">GList</link> *path_list,
                                             <link linkend="GError">GError</link> **error);</programlisting>
<para>
Wrapper to <link linkend="thunar-vfs-mime-application-exec-with-env"><function>thunar_vfs_mime_application_exec_with_env()</function></link>, which
simply passes a <literal>NULL</literal> pointer for the environment variables.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>application</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>screen</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GdkScreen"><type>GdkScreen</type></link> or <literal>NULL</literal> to use the default screen.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>path_list</parameter>&nbsp;:</term>
<listitem><simpara> a list of <link linkend="ThunarVfsPath"><type>ThunarVfsPath</type></link><!---->s to open.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
<listitem><simpara> return location for errors or <literal>NULL</literal>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if the execution succeed, else <literal>FALSE</literal>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="thunar-vfs-mime-application-exec-with-env"/>thunar_vfs_mime_application_exec_with_env ()</title>
<indexterm><primary>thunar_vfs_mime_application_exec_with_env</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    thunar_vfs_mime_application_exec_with_env
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application,
                                             <link linkend="GdkScreen">GdkScreen</link> *screen,
                                             <link linkend="GList">GList</link> *path_list,
                                             <link linkend="gchar">gchar</link> **envp,
                                             <link linkend="GError">GError</link> **error);</programlisting>
<para>
Executes <parameter>application</parameter> on <parameter>screen</parameter> using the given <parameter>path_list</parameter>. If
<parameter>path_list</parameter> contains more than one <link linkend="ThunarVfsPath"><type>ThunarVfsPath</type></link> and <parameter>application</parameter>
doesn't support opening multiple documents at once, one
instance of <parameter>application</parameter> will be spawned for every <link linkend="ThunarVfsPath"><type>ThunarVfsPath</type></link>
given in <parameter>path_list</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>application</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>screen</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GdkScreen"><type>GdkScreen</type></link> or <literal>NULL</literal> to use the default screen.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>path_list</parameter>&nbsp;:</term>
<listitem><simpara> a list of <link linkend="ThunarVfsPath"><type>ThunarVfsPath</type></link><!---->s to open.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>envp</parameter>&nbsp;:</term>
<listitem><simpara> child's environment or <literal>NULL</literal> to inherit parent's.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&nbsp;:</term>
<listitem><simpara> return location for errors or <literal>NULL</literal>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if the execution succeed, else <literal>FALSE</literal>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="thunar-vfs-mime-application-lookup-icon-name"/>thunar_vfs_mime_application_lookup_icon_name ()</title>
<indexterm><primary>thunar_vfs_mime_application_lookup_icon_name</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>* thunar_vfs_mime_application_lookup_icon_name
                                            (const <link linkend="ThunarVfsMimeApplication">ThunarVfsMimeApplication</link> *application,
                                             <link linkend="GtkIconTheme">GtkIconTheme</link> *icon_theme);</programlisting>
<para>
Looks up the icon name for <parameter>application</parameter> in
<parameter>icon_theme</parameter>. Returns <literal>NULL</literal> if no suitable
icon is present in <parameter>icon_theme</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>application</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>icon_theme</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GtkIconTheme"><type>GtkIconTheme</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the icon name for <parameter>application</parameter> or
              <literal>NULL</literal>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="thunar-vfs-mime-application-hash"/>thunar_vfs_mime_application_hash ()</title>
<indexterm><primary>thunar_vfs_mime_application_hash</primary></indexterm><programlisting><link linkend="guint">guint</link>       thunar_vfs_mime_application_hash
                                            (<link linkend="gconstpointer">gconstpointer</link> application);</programlisting>
<para>
Converts <parameter>application</parameter> to a hash value. It can be passed
to <link linkend="g-hash-table-new"><function>g_hash_table_new()</function></link> as the <parameter>hash_func</parameter> parameter,
when using <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link><!---->s as keys
in a <link linkend="GHashTable"><type>GHashTable</type></link>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>application</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a hash value corresponding to the key.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="thunar-vfs-mime-application-equal"/>thunar_vfs_mime_application_equal ()</title>
<indexterm><primary>thunar_vfs_mime_application_equal</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>    thunar_vfs_mime_application_equal
                                            (<link linkend="gconstpointer">gconstpointer</link> a,
                                             <link linkend="gconstpointer">gconstpointer</link> b);</programlisting>
<para>
Checks whether <parameter>a</parameter> and <parameter>b</parameter> refer to the same application.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>a</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>b</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="ThunarVfsMimeApplication"><type>ThunarVfsMimeApplication</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if <parameter>a</parameter> and <parameter>b</parameter> are equal.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
