AmtkUtils: Tepl 3 Reference Manual

## AmtkUtils AmtkUtils — Utility functions |

## Functions

gchar * | amtk_utils_recent_chooser_menu_get_item_uri ()

## Includes

    #include <amtk/amtk.h>

## Description

Utility functions.

## Functions

### amtk_utils_recent_chooser_menu_get_item_uri ()

    gchar *
    amtk_utils_recent_chooser_menu_get_item_uri
                                   (GtkRecentChooserMenu *menu,
                                    GtkMenuItem *item);

Gets the URI of `item` . `item` must be a child of `menu` . `menu` must be a GtkRecentChooserMenu.

This function has been written because the value returned by `gtk_recent_chooser_get_current_uri()` is not updated when GtkMenuItem's of a GtkRecentChooserMenu are selected/deselected.

#### Parameters

menu | a GtkRecentChooserMenu. |
item | a GtkMenuItem. |

#### Returns

the URI of `item` . Free with `g_free()` when no longer needed.

Since: 2.0

## Types and Values