Changeset 12231


Ignore:
Timestamp:
Mar 25, 2011, 6:40:46 AM (11 years ago)
Author:
jordan
Message:

(trunk gtk) gtk_open_uri(): use gtk_show_uri() as the default implementation for GTK+ > 2.14.0.

gtk_show_uri() was added in 2.14.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/util.c

    r12223 r12231  
    455455    {
    456456        gboolean opened = FALSE;
     457
     458#if GTK_CHECK_VERSION(2,14,0)
     459        if( !opened )
     460            opened = gtk_show_uri( NULL, uri, GDK_CURRENT_TIME, NULL );
     461#endif
    457462
    458463#ifdef HAVE_GIO
Note: See TracChangeset for help on using the changeset viewer.