This is my second day on advogato.
And I'm probably going to post every day after this.
I shall chronicle my experiences from day to day in trying
to learn gtk+ and gnome programming.
In order to learn, I'm going to write a simple app. It's
called Dull another ppp dialer for gnome. I don't care if
everybody thinks there are too many of those out there....
my problem is that none of them work for me. I'm currently
using kppp to connect to the net.
I started on Dull about 2 weeks ago. It's been slow, I
have school too, you know. In these two weeks, I have
learned/relearned a lot of things about C and gtk+ and
Gnome. As of now, Dull is nothing but a little program with
a gui, it does nothing yet. It has been fun so far.
The people on #gnome, #gtk+ and #gimp have been really
helpful with my stupid questions. some people have really
gone out of their way to help me. (whatever, Gs2, more that
I can't remember). I am really grateful, specially to
whatever.
There were times when I was somewhat flamed or rather
talked to in a harsh manner, but that's ok with me, I have
learned even from these people.
Right now I'm working on a bug. I hope I can fix this
tonight, after school. (I also need to review 'cause it's
exam week for me).
I'll describe the bug, for anyone who cares to help, just
mail me or something.
void
dull_create_log (void)
{
RsModemWindow *modem_window;
modem_window = create_modem_window();
gtk_widget_set_usize(GTK_WIDGET(modem_window->rs_modem_window),300,350);
gtk_widget_show(GTK_WIDGET(modem_window->rs_modem_window));
/*dull_main_connect(GTK_WIDGET(modem_window->rs_txtbox));*/
gtk_signal_connect_object(GTK_OBJECT
(modem_window->rs_modem_window), "delete_event",
GTK_SIGNAL_FUNC (turn_modem_window_off),
GTK_OBJECT(modem_window->rs_modem_window));
}
Now, you see there, the gtk_widget_show() works... but
the gtk_signal_connect_object segfaults if I uncomment it...
I don't know why, but I'll try to figure it out tonight.
Thanks for reading this. I know it's boring and really
worthless for some people... but it is my diary :)