Commit 78fe9bc0 authored by Manish Singh's avatar Manish Singh

Selection logic fix from Gordon Matzigkeit

-Yosh
parent 821bbbc4
Thu Apr 30 01:45:03 PDT 1998 Manish Singh <yosh@gimp.org>
* plug-ins/xd/xd.c: selection logic fix from Gordon
Matzigkeit
Thu Apr 30 03:15:51 EDT 1998 Matthew Wilson <msw@gimp.org>
* app/curves.c: Another small change to keep the segfaults away
......
......@@ -494,7 +494,6 @@ select_event (GtkWidget *widget,
GdkEvent *event)
{
preview_selected_version = (gint) gtk_object_get_user_data (GTK_OBJECT (widget));
g_print ("%d selected\n", preview_selected_version);
return 0;
}
......@@ -754,6 +753,9 @@ get_a_version (XdFile* xd, gchar* ext)
xpm_buffers[i].dsize);
}
/* Select the most recent version. */
gtk_list_select_item (GTK_LIST (plist), xd->versions - 1);
gtk_main ();
gdk_flush ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment