>Your rc file trick just changed font right? Why
>didn't you set a graphics context to have font
>size you wanted?
because an RC file *does* set the GC's to have the requested font,
but in a way that is common to all GTK programs and can be easily
managed by the user (for various definitions of "
Title: FW:
hello all:
my friend asks me a question,but i couldn't work it out.
someone could help me.
thanks a lot.
kason
-Original Message-
From: ©ö¤å¬P Alex Yi
Sent: Monday, March 18, 2002 9:10 AM
To: ¶À¼y Kason Huang
Subject:
On Sun, 2002-03-17 at 18:56, Kristian Peters wrote:
> Hello.
>
> Please cc me. I'm not subscribed (yet).
>
> No matter what gtk2-code I compile, every time it crashes immediately after the
>first gtk-statement.
Are you running a gtk1.2 LD_PRELOAD hack for antialiasing?
iain
--
"Everybody thi
On Sun, 2002-03-17 at 23:47, Kristian Peters wrote:
> Program received signal SIGSEGV, Segmentation fault.
> gdk_window_get_geometry (window=0x0
^^
Your window variable is not initialized.
Ronald
--
- .-.
- /V\| Ronald Bultje <[EMAIL PROTECTED]>
- //
Michael Torrie <[EMAIL PROTECTED]> wrote:
> On Sun, 2002-03-17 at 15:39, Kristian Peters wrote:
> >
> > Yes ok. That was copy'n'paste. Sorry for confusion. My fault. It's too late
>already. The program crashes between that two printf statements:
> >
> > #include
> > #include
> >
> > int main
> According to a debugger, where is it crashing (load it up in ddd after
> compiling with -g)? The code you present here looks really suspicious.
> As was pointed out, declaring a variable after a function call is
> illegal in C. Also note that GtkWidget *window is not a gtk statement
> at all.
On Sun, 2002-03-17 at 15:39, Kristian Peters wrote:
>
> Yes ok. That was copy'n'paste. Sorry for confusion. My fault. It's too late already.
>The program crashes between that two printf statements:
>
> #include
> #include
>
> int main( int argc,
> char *argv[] )
> {
> GtkWidg
Ronald Bultje <[EMAIL PROTECTED]> wrote:
> On Sun, 2002-03-17 at 23:00, Kristian Peters wrote:
> > int main( int argc,
> >char *argv[] )
> > {
> > printf("1\n");
> > GtkWidget *window;
> > printf("2\n");
> > [...]
> >
> > reveals:
>
> I wonder why this actually com
On Sun, 2002-03-17 at 15:00, Kristian Peters wrote:
> Owen Taylor <[EMAIL PROTECTED]> wrote:
> > Is your system Red Hat 7.2 in other ways?
>
> No. I applied updates from errata only.
>
> > Porbably something to do with config files or the set of files in your packages.
>Maybe you could try the
Hello.
Ok. I tried the packages from ftp.gtk.org without any noticable changes. How can I
switch debugging on ?
*Kristian
:... [snd.science] ...:
::
:: http://www.korseby.net
:: http://gsmp.sf.net
:..:
___
gtk-list maili
On Sun, 2002-03-17 at 23:00, Kristian Peters wrote:
> int main( int argc,
>char *argv[] )
> {
> printf("1\n");
> GtkWidget *window;
> printf("2\n");
> [...]
>
> reveals:
I wonder why this actually compiled, you're using a declaration of a
variable after a function
Owen Taylor <[EMAIL PROTECTED]> wrote:
> Is your system Red Hat 7.2 in other ways?
No. I applied updates from errata only.
> Porbably something to do with config files or the set of files in your packages.
>Maybe you could try the i386.rpm
> from ftp.gtk.org; they are built against 7.2 with al
Kristian Peters <[EMAIL PROTECTED]> writes:
> Hello.
>
> Please cc me. I'm not subscribed (yet).
>
> No matter what gtk2-code I compile, every time it crashes immediately after the
>first gtk-statement.
>
> Even that simple tutorial from gtk.org crashes (here: "GtkWidget *window;") :
>
> #i
Hi,
Kristian Peters <[EMAIL PROTECTED]> writes:
> No matter what gtk2-code I compile, every time it crashes immediately after the
>first gtk-statement.
it would help if you tell us if there are any error messages on the
console before it crashes.
Salut, Sven
_
Hello.
Please cc me. I'm not subscribed (yet).
No matter what gtk2-code I compile, every time it crashes immediately after the first
gtk-statement.
Even that simple tutorial from gtk.org crashes (here: "GtkWidget *window;") :
#include
int main( int argc,
char *argv[] )
{
Gtk
>can anyone tell me if the only way you can know the column and row selected
>is by connecting the list to the select-row signal?
gtk_clist_get_selection_info()
can be used from a button press or release handler to determine
similar information.
___
g
Hi,
can anyone tell me if the only way you can know the column and row selected
is by connecting the list to the select-row signal?
Thanks for any help,
Nuno Afonso
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-
>I was hoping somebody could point me in the right direction here.
your periodic update thread should check a variable that tells it to
die. add a lock and a condition variable, and use it like this:
void
kill_periodic_thread ()
{
pthread_mutex_lock(&lock_protecting_kill_flag);
k
Hello.
This is a question on how can i make gnome startup progams remember the environment
variables?
This is because i use galeon with LC_CTYPE set to ja_JP, but all other apps use other
environments.
I wish i could exit x and have "galeon --server" remember it was called from env
LC_CTYPE=ja_
19 matches
Mail list logo