gnome-control-center/capplets/mime-type/edit-window.c
Jonathan Blandford fdb99b1ad1 Beginnings of the mime-type capplet.
Also, fixed the stupid bug that prevented people from debugging capplets
in gdb.
1999-03-11 03:11:12 +00:00

23 lines
386 B
C

#include "edit-window.h"
typedef struct {
GtkWidget *window;
} edit_window;
static edit_window *main_win = NULL;
static void
initialize_main_win ()
{
main_win = g_new (edit_window, 1);
main_win->window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
}
void
launch_edit_window (MimeInfo *mi)
{
if (main_win == NULL)
initialize_main_win ();
gtk_widget_show_all (main_win->window);
}