On Wed, Feb 25, 2009 at 12:37:53AM -0300, Michel Boaventura wrote:
     > Try one on the last line of psppire_data_window_init and another on
     > the last line of psppire_data_window_new
     >
     > J'
     
     The one on psppire_data_window_init print the debug, but on
     psppire_data_window_new doesn't.
     psppire_data_window_new only has one return, so I don't think that
     will print  anything if I put it on last line.

Change it to read something like:

GtkWidget*
psppire_data_window_new (void)
{
  GtkWidget *w;

  w = GTK_WIDGET (g_object_new (psppire_data_window_get_type (),
                                     "description", _("Data Editor"),
                                                                   NULL));

  g_debug ("%s:%d %p", __FILE__, __LINE__, w);

  return w;
}
-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature

_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to