Fix bug -- gdk_window_raise takes a gdk window, not a gtk window.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5660 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-10-16 06:59:56 +00:00
parent 47fd364d72
commit b066e9cd63

View File

@ -142,8 +142,8 @@ static void sxed_reg_xferCB( GtkWidget *w, gpointer d );
static void gnc_sxed_reg_check_close(SchedXactionEditorDialog *sxed);
gboolean _editor_component_sx_equality( gpointer find_data,
gpointer user_data );
static gboolean _editor_component_sx_equality( gpointer find_data,
gpointer user_data );
/** Implementations *****************************************************/
@ -524,7 +524,7 @@ gnc_ui_scheduled_xaction_editor_dialog_create( SchedXactionDialog *sxd,
if ( alreadyExists ) {
sxed = (SchedXactionEditorDialog*)alreadyExists->data;
gtk_widget_show( sxed->dialog );
gdk_window_raise( sxed->dialog );
gdk_window_raise( sxed->dialog->window );
g_list_free( alreadyExists );
return sxed;
}