LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-08-2009, 05:22 AM   #1
thilothama
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 palette.my 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:

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

#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;
}

PANEL_APPLET_BONOBO_FACTORY ("OAFIID:CountryinfoApplet_Factory",
PANEL_TYPE_APPLET,
"GNOME Applet",
"0",
applet_factory,
NULL);
 
Old 07-08-2009, 11:57 AM   #2
thilothama
LQ Newbie
 
Registered: Jul 2009
Posts: 2

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


Reply


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 05:27 AM
Unable to find kickstart file? your_shadow03 Linux - Newbie 2 04-13-2009 11:57 PM
Unable to find inittab file after reboot subramaniana Linux - General 2 11-28-2006 05:25 AM
MPlayer unable to find appropriate audio codec for avi file hbbtstar Linux - Software 1 05-23-2005 05:51 PM
DVD Playback error: Unable to find map file (Slackware w/ KDE) shaun85 Linux - Newbie 1 10-16-2004 12:16 AM


All times are GMT -5. The time now is 08:17 PM.

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