diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-01-31 12:49:54 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-01-31 12:49:54 +0000 |
commit | acd562ac919a2cdb0a72051a97768cb5c0100ff9 (patch) | |
tree | 41cd4764683f1df49ff9ec2e3c03d1f5a9b65ca7 | |
parent | 893624498efe0793538ae6ad2112bc936715dcc1 (diff) |
gtk_label_set_selectable() is only available from GTK version 2
svn path=/trunk/; revision=9923
-rw-r--r-- | gtk/simple_dialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/simple_dialog.c b/gtk/simple_dialog.c index 34d176cc7e..780cd30a2f 100644 --- a/gtk/simple_dialog.c +++ b/gtk/simple_dialog.c @@ -1,7 +1,7 @@ /* simple_dialog.c * Simple message dialog box routines. * - * $Id: simple_dialog.c,v 1.21 2004/01/31 12:13:23 ulfl Exp $ + * $Id: simple_dialog.c,v 1.22 2004/01/31 12:49:54 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -134,9 +134,9 @@ simple_dialog(gint type, gint btn_mask, gchar *msg_format, ...) { #if GTK_MAJOR_VERSION >= 2 gtk_label_set_markup(GTK_LABEL(msg_label), message); + gtk_label_set_selectable(GTK_LABEL(msg_label), TRUE); #endif - gtk_label_set_selectable(GTK_LABEL(msg_label), TRUE); gtk_label_set_justify(GTK_LABEL(msg_label), GTK_JUSTIFY_FILL); gtk_misc_set_alignment (GTK_MISC (type_pm), 0.5, 0.0); gtk_container_add(GTK_CONTAINER(top_hb), msg_label); |