[Glade-users] how to add a file to a glade project
Gedeon Legaut
gedeon.legaut at tele2.fr
Thu Jul 27 17:55:13 EDT 2006
Hello,
I would like to add a new file .c into a glade project.
Is it good to have the following beginning ?
******************************************
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
#include "callbacks.h"
#include "interface.h"
#include "support.h"
#define GLADE_HOOKUP_OBJECT(component,widget,name) \
g_object_set_data_full (G_OBJECT (component), name, \
gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)
#define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
g_object_set_data (G_OBJECT (component), name, widget)
******************************************
how do I configure the Makefile for him to compile the new file .c ?
thank you
Gédéon
More information about the Glade-users
mailing list