Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-08-2009, 04:22 AM   #1
LQ Newbie
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
Unhappy unable to find the callback.c file

hello friends,
I have just started to learn linux and trying to develop a GUI using Anjuta/Glade.I opened glade and designed the interface using the application would just accept the country name and display its corresponding currency and capital.after finishing the interface i just saved it and clicked on build project...actually according to the tutorials,the callbacks.c file should be generated once we build the application.But i am unable to find it and edit the code as the callbacks.c file is missing.i attached the callbacks for the necessary widgets too....i use glade 3.and Anjuta 2.26 version. kindly help me friends

when i build i get these messages...

/home/awsd/countryinfo/configure: line 5742: syntax error near unexpected token `GNOMELOCALEDIR,'
/home/awsd/countryinfo/configure: line 5742: `AC_DEFINE_DIR(GNOMELOCALEDIR, "${datadir}/locale", locale directory)'

my main.c has the foll contents:

# include <config.h>

#include <string.h>

#include <gtk/gtk.h>
#include <panel-applet.h>

static gboolean
applet_factory (PanelApplet *applet, const gchar *iid, gpointer user_data)
GtkWidget *label;

if (strcmp (iid, "OAFIID:CountryinfoApplet") != 0)
return FALSE;

label = gtk_label_new ("Hello World");
gtk_container_add (GTK_CONTAINER (applet), label);

gtk_widget_show_all (GTK_WIDGET (applet));

return TRUE;

"GNOME Applet",
Old 07-08-2009, 10:57 AM   #2
LQ Newbie
Registered: Jul 2009
Posts: 2

Original Poster
Rep: Reputation: 0
friends help me with this one knows this stuff?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to find /etc/inetd.conf file in fedora vinaytp Linux - Newbie 3 05-19-2009 04:27 AM
Unable to find kickstart file? your_shadow03 Linux - Newbie 2 04-13-2009 10:57 PM
Unable to find inittab file after reboot subramaniana Linux - General 2 11-28-2006 04:25 AM
MPlayer unable to find appropriate audio codec for avi file hbbtstar Linux - Software 1 05-23-2005 04:51 PM
DVD Playback error: Unable to find map file (Slackware w/ KDE) shaun85 Linux - Newbie 1 10-15-2004 11:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration