Re: Using g_signal_connect on GtkMenuItem with data



Hi

try


GtkTextBuffer * log_buffer = gtk_text_buffer_new(NULL);
// Here log_buffer != NULL

g_signal_connect ((gpointer) item_cut, "activate",
           G_CALLBACK (on_cut_activate),
           (gpointer) log_buffer);

Regards
luiz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]