gstreamer/gstplay/callbacks.c
Wim Taymans baf7b1747c Added a check for libjpeg
Original commit message from CVS:
Added a check for libjpeg
Added and action for the load menu in gstplay
Fixed drag and drop in gstplay
More verbose errors in gstasyndisksrc
2001-01-02 12:04:46 +00:00

58 lines
1.2 KiB
C

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <gnome.h>
#include <glade/glade.h>
#include <gst/gst.h>
#include "gstplay.h"
#include "callbacks.h"
GtkFileSelection *open_file_selection;
void
on_save1_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
printf("file1 activate\n");
}
void
on_save_as1_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
printf("file1 activate\n");
}
void
on_media2_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
printf("file1 activate\n");
}
void
on_preferences1_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
printf("file1 activate\n");
}
void on_about_activate(GtkWidget *widget, gpointer data)
{
GladeXML *xml;
xml = glade_xml_new(DATADIR "gstmediaplay.glade", "about");
/* connect the signals in the interface */
glade_xml_signal_autoconnect(xml);
}
void on_gstplay_destroy(GtkWidget *widget, gpointer data)
{
gst_main_quit();
}