Re: GTK+ 2.10.8 released

2007-01-20 Thread Tomasz Kłoczko

On Thu, 18 Jan 2007, younker wrote:

After update to this version, my gnome-panel can not start up at all, always 
crash on startup, I am not sure is this caused by gtk, maybe it is caused by 
glib 2.12.9.


In my case it is gnome-session.
Try if remove ~/.gnome/session can help correctly start desktop.

kloczek
--
---
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
---
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: [EMAIL PROTECTED]___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re gtk/gtk.h Error

2007-01-20 Thread Udaya Kumar

Dear Sir /Madam

I am newbie to Linux Programming

I have Redhat EL4 on my PC.

I have installed the following.
gtk2-2.4.13-12
glib-1.2.10-15

But still when I Compile the Program, I get the follwoing error.

[EMAIL PROTECTED] ~]# gcc -Wall -g window.c -o window `gtk-config --cflags`
`gtk-config --libs`
bash: gtk-config: command not found
bash: gtk-config: command not found
window.c:5:21: gtk/gtk.h: No such file or directory
window.c:6:18: glib.h: No such file or directory
window.c: In function `main':
window.c:11: error: `GtkWidget' undeclared (first use in this function)
window.c:11: error: (Each undeclared identifier is reported only once
window.c:11: error: for each function it appears in.)
window.c:11: error: `window' undeclared (first use in this function)
window.c:14: warning: implicit declaration of function `gtk_init'
window.c:17: warning: implicit declaration of function `gtk_window_new'
window.c:17: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this
function)
window.c:20: warning: implicit declaration of function `gtk_widget_show'
window.c:23: warning: implicit declaration of function `gtk_main'


With this message I have included the source of window.c


Awaiting for your reply

Regards

Udaya,
India.
/*
 *File name: window.c
 */

#include gtk/gtk.h
#include glib.h

int main (int argc, char *argv[])
{
  /*-- Declare the GTK Widgets used in the program --*/
  GtkWidget *window;

  /*--  Initialize GTK --*/
  gtk_init (argc, argv);

  /*-- Create the new window --*/
  window = gtk_window_new(GTK_WINDOW_TOPLEVEL);

  /*-- Display the window --*/
  gtk_widget_show(window);

  /*-- Start the GTK event loop --*/
  gtk_main();

  /*-- Return 0 if exit is successful --*/
  return 0;
}

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


about combo box

2007-01-20 Thread Marcelo Armengot Iborra
Hello

I have a combo.

Can I make that the user cant write in?

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Re gtk/gtk.h Error

2007-01-20 Thread Kalle Vahlman
2007/1/19, Udaya Kumar [EMAIL PROTECTED]:
 Dear Sir /Madam

  I am newbie to Linux Programming

  I have Redhat EL4 on my PC.

   I have installed the following.
   gtk2-2.4.13-12
   glib-1.2.10-15

These are pretty old versions :)

  But still when I Compile the Program, I get the follwoing error.

  [EMAIL PROTECTED] ~]# gcc -Wall -g window.c -o window `gtk-config --cflags`
 `gtk-config --libs`

gtk-config has not been used by Gtk+ for a long time, the equivalent
command these days (and in the days of 2.4 too I guess) is `pkg-config
--cflags gtk+-2.0`.

-- 
Kalle Vahlman, [EMAIL PROTECTED]
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: another question about combo

2007-01-20 Thread Emmanuele Bassi
On Thu, 2007-01-18 at 11:13 +0100, Marcelo Armengot Iborra wrote:

 can I?

sure.  but you should ask on the gtk-app-devel-list or the gtk-list
mailing lists; gtk-devel-list is the mailing list for developing the
gtk+ themselves, not for developing applications with gtk+.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,  E: [EMAIL PROTECTED]
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: GTK+ 2.10.8 released

2007-01-20 Thread Chris Vine
On Saturday 20 January 2007 10:18, Tomasz Kłoczko wrote:
 On Thu, 18 Jan 2007, younker wrote:
  After update to this version, my gnome-panel can not start up at all,
  always crash on startup, I am not sure is this caused by gtk, maybe it is
  caused by glib 2.12.9.

 In my case it is gnome-session.
 Try if remove ~/.gnome/session can help correctly start desktop.

I find removing ~/.gnome2/session works once (although the file mounting 
applet isn't loaded), but then fails with a gnome-panel crash the next time 
gnome is started.  This occurs with my laptop with Gnome 2.16.1.  However 
with my desktop system, also running Gnome 2.16.1, I don't get the problem.

Reverting to gtk+2.10.7 solves the problem.

Chris

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list