~blackskad/gnomeradio/dev-vol-button

« back to all changes in this revision

Viewing changes to src/record.c

  • Committer: mfcn
  • Date: 2006-11-05 22:56:33 UTC
  • Revision ID: svn-v3-trunk0:ba97a3d1-ec25-0410-b1c6-e06ad936ea6c:trunk:152
        * .cvsignore:
        * src/.cvsignore:
        * src/record.c: (delete_event_cb), (record_status_window):
        Fix crash

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
 
93
93
static gint delete_event_cb(GtkWidget* window, GdkEventAny* e, gpointer data)
94
94
{
95
 
        button_clicked_cb(NULL, (gpointer)window);
 
95
        button_clicked_cb(NULL, data);
96
96
        return TRUE;
97
97
}
98
98
 
150
150
 
151
151
        gtk_container_add(GTK_CONTAINER(status_dialog), vbox);
152
152
 
153
 
        g_signal_connect(GTK_OBJECT(status_dialog), "delete_event", GTK_SIGNAL_FUNC(delete_event_cb), NULL);
 
153
        g_signal_connect(GTK_OBJECT(status_dialog), "delete_event", GTK_SIGNAL_FUNC(delete_event_cb), recording);
154
154
        g_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(button_clicked_cb), recording);
155
155
 
156
156
        gtk_window_set_modal(GTK_WINDOW(status_dialog), TRUE);