mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 08:22:16 +01:00 
			
		
		
		
	Call error_func on error, not post_parse_func again. (#153107, Robert
Sun Sep 19 23:56:15 2004 Matthias Clasen <maclas@gmx.de> * glib/goption.c (g_option_context_parse): Call error_func on error, not post_parse_func again. (#153107, Robert Ögren)
This commit is contained in:
		
				
					committed by
					
						 Matthias Clasen
						Matthias Clasen
					
				
			
			
				
	
			
			
			
						parent
						
							b61e269d0d
						
					
				
				
					commit
					2022eaf0ab
				
			| @@ -1,3 +1,8 @@ | ||||
| Sun Sep 19 23:56:15 2004  Matthias Clasen  <maclas@gmx.de> | ||||
|  | ||||
| 	* glib/goption.c (g_option_context_parse): Call error_func | ||||
| 	on error, not post_parse_func again.  (#153107, Robert Ögren) | ||||
|  | ||||
| Sun Sep 19 23:52:35 2004  Matthias Clasen  <maclas@gmx.de> | ||||
|  | ||||
| 	* glib/gmessages.c (mklevel_prefix):  | ||||
|   | ||||
| @@ -1,3 +1,8 @@ | ||||
| Sun Sep 19 23:56:15 2004  Matthias Clasen  <maclas@gmx.de> | ||||
|  | ||||
| 	* glib/goption.c (g_option_context_parse): Call error_func | ||||
| 	on error, not post_parse_func again.  (#153107, Robert Ögren) | ||||
|  | ||||
| Sun Sep 19 23:52:35 2004  Matthias Clasen  <maclas@gmx.de> | ||||
|  | ||||
| 	* glib/gmessages.c (mklevel_prefix):  | ||||
|   | ||||
| @@ -1,3 +1,8 @@ | ||||
| Sun Sep 19 23:56:15 2004  Matthias Clasen  <maclas@gmx.de> | ||||
|  | ||||
| 	* glib/goption.c (g_option_context_parse): Call error_func | ||||
| 	on error, not post_parse_func again.  (#153107, Robert Ögren) | ||||
|  | ||||
| Sun Sep 19 23:52:35 2004  Matthias Clasen  <maclas@gmx.de> | ||||
|  | ||||
| 	* glib/gmessages.c (mklevel_prefix):  | ||||
|   | ||||
| @@ -1,3 +1,8 @@ | ||||
| Sun Sep 19 23:56:15 2004  Matthias Clasen  <maclas@gmx.de> | ||||
|  | ||||
| 	* glib/goption.c (g_option_context_parse): Call error_func | ||||
| 	on error, not post_parse_func again.  (#153107, Robert Ögren) | ||||
|  | ||||
| Sun Sep 19 23:52:35 2004  Matthias Clasen  <maclas@gmx.de> | ||||
|  | ||||
| 	* glib/gmessages.c (mklevel_prefix):  | ||||
|   | ||||
| @@ -1,3 +1,8 @@ | ||||
| Sun Sep 19 23:56:15 2004  Matthias Clasen  <maclas@gmx.de> | ||||
|  | ||||
| 	* glib/goption.c (g_option_context_parse): Call error_func | ||||
| 	on error, not post_parse_func again.  (#153107, Robert Ögren) | ||||
|  | ||||
| Sun Sep 19 23:52:35 2004  Matthias Clasen  <maclas@gmx.de> | ||||
|  | ||||
| 	* glib/gmessages.c (mklevel_prefix):  | ||||
|   | ||||
| @@ -1083,8 +1083,8 @@ g_option_context_parse (GOptionContext   *context, | ||||
|       GOptionGroup *group = list->data; | ||||
|        | ||||
|       if (group->error_func) | ||||
| 	(* group->post_parse_func) (context, group, | ||||
| 				    group->user_data, error); | ||||
| 	(* group->error_func) (context, group, | ||||
| 			       group->user_data, error); | ||||
|        | ||||
|       list = list->next; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user