Commit 60fd9299110e1c05cc5e3729d26982cf0a5139e5

Authored by perry.werneck@gmail.com
1 parent 5701e043
Exists in master and in 1 other branch develop

Tentando identificar segfault em win64

Showing 1 changed file with 10 additions and 1 deletions   Show diff stats
widget.c
... ... @@ -698,7 +698,9 @@ static void changed(H3270 *session, int offset, int len)
698 698 GtkWidget * widget = session->widget;
699 699 GtkAccessible * obj = GTK_V3270(widget)->accessible;
700 700  
701   -// trace("%s: offset=%d len=%d",__FUNCTION__,offset,len)
  701 +#ifdef WIN32
  702 + trace("%s: offset=%d len=%d accessible=%p",__FUNCTION__,offset,len,obj);
  703 +#endif
702 704  
703 705 if(obj)
704 706 {
... ... @@ -739,8 +741,15 @@ static void changed(H3270 *session, int offset, int len)
739 741 gtk_widget_queue_draw(widget);
740 742 #endif // WIN32
741 743  
  744 +#ifdef WIN32
  745 + trace("%s: emit signal",__FUNCTION__);
  746 +#endif
  747 +
742 748 g_signal_emit(GTK_WIDGET(widget),v3270_widget_signal[SIGNAL_CHANGED], 0, (guint) offset, (guint) len);
743 749  
  750 +#ifdef WIN32
  751 + trace("%s: ends",__FUNCTION__);
  752 +#endif
744 753 }
745 754  
746 755 static void set_selection(H3270 *session, unsigned char status)
... ...