src/solaris/native/sun/awt/gtk2_interface.c

Print this page

        

@@ -430,10 +430,24 @@
         return result;
     }
 }
 
 /**
+ * Functions for awt_Desktop.c
+ */
+gboolean gtk2_show_uri_load() {
+        dlerror();
+        fp_gtk_show_uri = dl_symbol("gtk_show_uri");
+        const char *dlsym_error = dlerror();
+        if (dlsym_error) {
+            fprintf (stderr, "Cannot load symbol: %s \n", dlsym_error);
+            return 0;
+        }
+        return 1;
+}
+
+/**
  * Functions for sun_awt_X11_GtkFileDialogPeer.c
  */
 void gtk2_file_chooser_load()
 {
     fp_gtk_file_chooser_get_filename = dl_symbol(