Why the code is not compatible?

2015-08-15 Thread Igor Korot
Hi, ALL, [code] #if GTK_CHECK_VERSION( 3, 10, 0 ) if( !gtk_check_version( 3, 10, 0 ) ) { GtkIconTheme *theme = gtk_icon_theme_get_default(); GError *error = NULL; GdkPixbuf *pixbuf = gtk_icon_theme_load_icon( theme, "dialog-error", GTK_ICON_SIZE_DIALOG, GTK_

What am I doing wrong?

2015-08-15 Thread Igor Korot
Hi, ALL, I'm trying to port GTK+2 app to GTK+3. In GTK+2 I have following code: [code] continuebtn = gtk_assert_dialog_add_button (dlg, "_Continue", GTK_STOCK_YES, GTK_ASSERT_DIALOG_CONTINUE); [/code] I'm trying to rewrite it as follows: [code] continuebtn = gtk_button_new_with_m